Versions in this module Expand all Collapse all v0 v0.0.1 May 16, 2021 Changes in this version + const ReconnectWaitSecond + const TimerIntervalSecond + type AuthenticationV2ResponseHandler func(resp *auth.WebSocketV2AuthenticationResponse) + type ConnectedHandler func() + type MessageHandler func(message string) (interface{}, error) + type ResponseHandler func(response interface{}) + type WebSocketClientBase struct + func (p *WebSocketClientBase) Close() + func (p *WebSocketClientBase) Connect(autoConnect bool) + func (p *WebSocketClientBase) Init(host string) *WebSocketClientBase + func (p *WebSocketClientBase) InitWithFeedPath(host string) *WebSocketClientBase + func (p *WebSocketClientBase) Send(data string) + func (p *WebSocketClientBase) SetHandler(connHandler ConnectedHandler, msgHandler MessageHandler, ...) + type WebSocketV2ClientBase struct + func (p *WebSocketV2ClientBase) Close() + func (p *WebSocketV2ClientBase) Connect(autoConnect bool) + func (p *WebSocketV2ClientBase) Init(accessKey string, secretKey string, host string) *WebSocketV2ClientBase + func (p *WebSocketV2ClientBase) Send(data string) + func (p *WebSocketV2ClientBase) SetHandler(authHandler AuthenticationV2ResponseHandler, msgHandler MessageHandler, ...)