Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
REST is for REST connection.
type Websocket ¶
Websocket is for websocket connection.
func NewWebsocket ¶
NewWebsocket creates a new websocket connection for the exchange.
func (*Websocket) ReadTextOrFlateBinary ¶ added in v1.5.0
ReadTextOrFlateBinary reads data frame from websocket connection. It also handles flate compressed binary data frame.
func (*Websocket) ReadTextOrGzipBinary ¶ added in v1.4.0
ReadTextOrGzipBinary reads data frame from websocket connection. It also handles gzip compressed binary data frame.
func (*Websocket) ReadTextOrZlibBinary ¶ added in v1.4.0
ReadTextOrZlibBinary reads data frame from websocket connection. It also handles zlib compressed binary data frame.
Click to show internal directories.
Click to hide internal directories.