Documentation ¶
Index ¶
- type Cache
- func (c *Cache) AddCurrency(currency Currency) error
- func (c *Cache) AddQuote(quote Quote) error
- func (c *Cache) AddSymbol(symbol Symbol) error
- func (c *Cache) GetCurrency(currency, currencyTo string) (Currency, error)
- func (c *Cache) GetQuote(quote string) (Quote, error)
- func (c *Cache) GetSymbol(symbol string) (Symbol, error)
- type Currency
- type Quote
- type Symbol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) AddCurrency ¶
func (*Cache) GetCurrency ¶
Click to show internal directories.
Click to hide internal directories.