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
func (*RestClient) Property ¶ added in v0.3.0
func (rc *RestClient) Property() exchange.Property
type RestResponse ¶ added in v0.3.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.