Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { // SaveTokenPrice ... SaveTokenPrice(token, currency, provider string, timestamp time.Time, price float64) error // GetTokenPrice ... GetTokenPrice(token, currency, provider string, timestamp time.Time) (float64, error) }
Storage storage interface
func NewStorageFromContext ¶
NewStorageFromContext return storage interface from context
Click to show internal directories.
Click to hide internal directories.