Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriceInfo ¶
type PriceInfo struct { Price float32 `json:"price"` Timestamp int64 `json:"timestamp"` Err string `json:"err"` }
PriceInfo 币价信息
type PriceTool ¶
type PriceTool struct {
// contains filtered or unexported fields
}
PriceTool 获取币价的工具
func (*PriceTool) GetCurrPrice ¶
GetCurrPrice 获取指定交易对的币价,ex: BCH-USDT
Click to show internal directories.
Click to hide internal directories.