cache

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2016 License: MIT Imports: 2 Imported by: 2

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL