Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
GetLatestTotalReward() models.TotalReward
IncrementTotalReward(time.Time, int64)
GetRewardRatesByType(string) []models.RewardRate
SetRewardRates(string, []models.RewardRate)
GetLatestConfig() models.Config
SetLatestConfig(models.Config)
InsertIncome(interface{})
GetLatestIncomes() []interface{}
}
Cache defines interface that one should implement
Click to show internal directories.
Click to hide internal directories.