Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WsArgument ¶
type WsArgument struct {
// contains filtered or unexported fields
}
func (*WsArgument) Get ¶
func (a *WsArgument) Get(k string) (interface{}, bool)
func (*WsArgument) UnmarshalJSON ¶
func (a *WsArgument) UnmarshalJSON(buf []byte) error
type WsBasicEvent ¶
type WsBasicEvent struct { Event string `json:"event"` Code int `json:"code,omitempty,string"` Msg string `json:"msg,omitempty"` Op okex.Operation `json:"op,omitempty"` Arg *WsArgument `json:"arg,omitempty"` Args []*WsArgument `json:"args,omitempty"` Data []*WsArgument `json:"data,omitempty"` }
type WsSubscribe ¶
type WsSubscribe struct { Event string `json:"event"` Arg *WsArgument `json:"arg"` }
type WsUnsubscribe ¶
type WsUnsubscribe struct { Event string `json:"event"` Arg *WsArgument `json:"arg"` }
Click to show internal directories.
Click to hide internal directories.