Documentation ¶
Index ¶
Constants ¶
View Source
const ( Huobi = "huobi" StatusOK = "ok" CodeOK = 200 )
View Source
const ( MethodPing = "ping" MethodPong = "pong" MethodSubscibe = "sub" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NotifyTrade ¶
type Response ¶
type Response struct { Ping int `json:"ping"` Ch string `json:"ch"` TS int `json:"ts"` Tick json.RawMessage `json:"tick"` }
type RestClient ¶
type RestClient struct {
// contains filtered or unexported fields
}
func NewRestClient ¶
func NewRestClient(key, secret, host string) *RestClient
Source Files ¶
Click to show internal directories.
Click to hide internal directories.