Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LiveCoinWatch ¶
func LiveCoinWatch(c *resty.Client) (p *livecoinwatch.LiveCoinWatch)
LiveCoinWatch returns an initialized provider implementation.
Types ¶
type Provider ¶
type Provider interface { SetMarket(market string) (err error) FetchRate(coin string, fiat string) (rate types.ExchangeRate, err error) FetchRateSynced(coin string, fiat string, rates *types.ExchangeRates, wg *sync.WaitGroup) }
Provider is the common interface used for every specific provider.
Click to show internal directories.
Click to hide internal directories.