Documentation
¶
Index ¶
- type Provider
- func (p *Provider) FetchPrices(assets []*asset.Asset) (map[string]float64, error)
- func (*Provider) FetchesAllAssets() bool
- func (*Provider) Name() string
- func (*Provider) SupportedIDs() map[string]struct{}
- func (p *Provider) SupportsAssetId(assetId string) bool
- func (*Provider) SupportsAssetType(assetType string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func New ¶
func New(conf providerlib.ConfigIface) *Provider
func (*Provider) FetchPrices ¶
func (*Provider) FetchesAllAssets ¶
func (*Provider) SupportedIDs ¶
func (*Provider) SupportsAssetId ¶
func (*Provider) SupportsAssetType ¶
Click to show internal directories.
Click to hide internal directories.