Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ticker ¶
type Ticker struct { ID string `json:"id"` Name string `json:"name"` Symbol string `json:"symbol"` Rank int `json:"rank,string"` PriceUSD float64 `json:"price_usd,string"` PriceBTC float64 `json:"price_btc,string"` USD24HVolume float64 `json:"24h_volume_usd,string"` MarketCapUSD float64 `json:"market_cap_usd,string"` AvailableSupply float64 `json:"available_supply,string"` TotalSupply float64 `json:"total_supply,string"` PercentChange1H float64 `json:"percent_change_1h,string"` PercentChange24H float64 `json:"percent_change_24h,string"` PercentChange7D float64 `json:"percent_change_7d,string"` LastUpdated int `json:"last_updated,string"` Quotes map[string]*TickerQuote `json:"quotes"` }
Ticker struct
type TickerQuote ¶
type TickerQuote struct { Price float64 `json:"price"` Volume24H float64 `json:"volume_24h"` MarketCap float64 `json:"market_cap"` PercentChange1H float64 `json:"percent_change_1h"` PercentChange24H float64 `json:"percent_change_24h"` PercentChange7D float64 `json:"percent_change_7d"` }
TickerQuote struct
Click to show internal directories.
Click to hide internal directories.