Documentation
¶
Index ¶
Constants ¶
View Source
const APIBaseURL = "https://min-api.cryptocompare.com"
Variables ¶
This section is empty.
Functions ¶
func GetCurrencyValues ¶
Types ¶
type CoinList ¶
type CoinList struct {
BaseImageUrl string `json:"BaseImageUrl"`
BaseLinkUrl string `json:"BaseLinkUrl"`
Data map[string]Datum `json:"Data"`
DefaultWatchlist DefaultWatchlist `json:"DefaultWatchlist"`
Message string `json:"Message"`
Response string `json:"Response"`
Type int64 `json:"Type"`
}
func UnmarshalCoinList ¶
type Datum ¶
type Datum struct {
Algorithm string `json:"Algorithm"`
CoinName string `json:"CoinName"`
FullName string `json:"FullName"`
FullyPremined string `json:"FullyPremined"`
Id string `json:"Id"`
ImageUrl *string `json:"ImageUrl"`
Name string `json:"Name"`
PreMinedValue string `json:"PreMinedValue"`
ProofType string `json:"ProofType"`
SortOrder string `json:"SortOrder"`
Sponsored bool `json:"Sponsored"`
Symbol string `json:"Symbol"`
TotalCoinSupply string `json:"TotalCoinSupply"`
TotalCoinsFreeFloat string `json:"TotalCoinsFreeFloat"`
Url string `json:"Url"`
}
func GetCurrencyDetails ¶
type DefaultWatchlist ¶
Click to show internal directories.
Click to hide internal directories.