Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinMarketCapResponse ¶
type TokenInfo ¶
type TokenInfo struct { Id int `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Slug string `json:"slug"` NumMarketPairs int `json:"num_market_pairs"` DateAdded time.Time `json:"date_added"` Tags []Tag `json:"tags"` MaxSupply int `json:"max_supply"` CirculatingSupply decimal.Decimal `json:"circulating_supply"` TotalSupply decimal.Decimal `json:"total_supply"` IsActive int `json:"is_active"` Platform interface{} `json:"platform"` CmcRank int `json:"cmc_rank"` IsFiat int `json:"is_fiat"` SelfReportedCirculatingSupply interface{} `json:"self_reported_circulating_supply"` SelfReportedMarketCap interface{} `json:"self_reported_market_cap"` LastUpdated time.Time `json:"last_updated"` Quote Quote `json:"Quote"` }
type Usd ¶
type Usd struct { Price float64 `json:"price"` Volume24H float64 `json:"volume_24h"` VolumeChange24H float64 `json:"volume_change_24h"` PercentChange1H float64 `json:"percent_change_1h"` PercentChange24H float64 `json:"percent_change_24h"` PercentChange7D float64 `json:"percent_change_7d"` PercentChange30D float64 `json:"percent_change_30d"` PercentChange60D float64 `json:"percent_change_60d"` PercentChange90D float64 `json:"percent_change_90d"` MarketCap float64 `json:"market_cap"` MarketCapDominance float64 `json:"market_cap_dominance"` FullyDilutedMarketCap float64 `json:"fully_diluted_market_cap"` LastUpdated time.Time `json:"last_updated"` }
Click to show internal directories.
Click to hide internal directories.