Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WsClient ¶
type WsClient struct { Stream chan *WsEvent Errors chan error // contains filtered or unexported fields }
func NewWsClient ¶
func (*WsClient) IsReconnectRequest ¶
Determines whether server is requesting reconnect. If such a request is made by the server, we should immediately reconnect. Note: Bitstamp ensures, that once such a request is received by the client, any new websocket client is connected to a healthy server.
func (*WsClient) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.