Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebsocketClient ¶
type WebsocketClient struct {
// contains filtered or unexported fields
}
func NewWebsocketClient ¶
func NewWebsocketClient(url string, accessToken string, recieveChan chan<- []byte) *WebsocketClient
func (*WebsocketClient) Send ¶
func (wsc *WebsocketClient) Send(data []byte) error
func (*WebsocketClient) Stop ¶
func (wsc *WebsocketClient) Stop()
Click to show internal directories.
Click to hide internal directories.