Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExchInfo []ExchangeInfo
Functions ¶
func AddExchangeInfo ¶
func AppendExchangeInfo ¶
Types ¶
type ByPrice ¶
type ByPrice []ExchangeInfo
type ByVolume ¶
type ByVolume []ExchangeInfo
type ExchangeInfo ¶
type ExchangeInfo struct { Exchange string FirstCurrency string FiatCurrency string Price float64 Volume float64 }
func SortExchangesByPrice ¶
func SortExchangesByPrice(crypto, fiat string, reverse bool) []ExchangeInfo
func SortExchangesByVolume ¶
func SortExchangesByVolume(crypto, fiat string, reverse bool) []ExchangeInfo
Click to show internal directories.
Click to hide internal directories.