Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interface ¶
type Interface interface { Ping() error GetAllCoinData(convert string, ch chan []types.Coin) error GetCoinGraphData(convert string, symbol string, name string, start int64, end int64) (types.CoinGraph, error) GetGlobalMarketGraphData(convert string, start int64, end int64) (types.MarketGraph, error) GetGlobalMarketData(convert string) (types.GlobalMarketData, error) GetCoinData(name string, convert string) (types.Coin, error) GetCoinDataBatch(names []string, convert string) ([]types.Coin, error) CoinLink(name string) string SupportedCurrencies() []string Price(name string, convert string) (float64, error) GetExchangeRate(convertFrom, convertTo string, cached bool) (float64, error) // I don't love this caching }
Interface interface
Directories ¶
Path | Synopsis |
---|---|
impl
|
|
vendors
|
|
coingecko/v3
Package coingecko is forked from https://github.com/superoo7/go-gecko
|
Package coingecko is forked from https://github.com/superoo7/go-gecko |
Click to show internal directories.
Click to hide internal directories.