Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CMC ¶
type CMC struct {
// contains filtered or unexported fields
}
func (*CMC) GetCurrencies ¶
type CurrenciesResponse ¶
type Currency ¶
type Currency struct {
CirculatingSupply decimal.Decimal `json:"circulating_supply"`
CMCRank int `json:"cmc_rank"`
TotalSupply decimal.Decimal `json:"total_supply"`
Symbol string `json:"symbol"`
Quote map[string]struct {
MarketCap decimal.Decimal `json:"market_cap"`
PercentChange1h decimal.Decimal `json:"percent_change_1h"`
PercentChange7d decimal.Decimal `json:"percent_change_7d"`
PercentChange24h decimal.Decimal `json:"percent_change_24h"`
Price decimal.Decimal `json:"price"`
Volume24h decimal.Decimal `json:"volume_24h"`
} `json:"quote"`
}
Click to show internal directories.
Click to hide internal directories.