Documentation ¶ Index ¶ type Coin type CoinList func (cl CoinList) GetTokens() []string type Provider func New(builtins []config.TokenConfig, db data.Db) Provider func (cg Provider) GetPrices(tokens []string, fiat string) (data.TokenPrices, error) func (cg Provider) Name() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Coin ¶ type Coin struct { Symbol string `db:"symbol"` CoinId string `db:"coin_id"` Name string `db:"name"` } type CoinList ¶ type CoinList struct { Coins []Coin } func (CoinList) GetTokens ¶ func (cl CoinList) GetTokens() []string type Provider ¶ type Provider struct { // contains filtered or unexported fields } func New ¶ func New(builtins []config.TokenConfig, db data.Db) Provider func (Provider) GetPrices ¶ func (cg Provider) GetPrices(tokens []string, fiat string) (data.TokenPrices, error) func (Provider) Name ¶ func (cg Provider) Name() string Source Files ¶ View all Source files provider.go types.go Click to show internal directories. Click to hide internal directories.