Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { OnMessageError func(err error) OnClientMethod func(hub, method string, arguments []json.RawMessage) // When client disconnects, the causing error is sent to this channel. Valid only after Connect(). DisconnectedChannel chan bool // contains filtered or unexported fields }
func NewWebsocketClient ¶
func NewWebsocketClient() *Client
Click to show internal directories.
Click to hide internal directories.