Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler interface { Connect(client *Client) Disconnect(client *Client) Message(client *Client, msg string) }
EventHandler ...
type PureEventHandler ¶
type PureEventHandler struct { }
PureEventHandler ...
func (*PureEventHandler) Disconnect ¶
func (peh *PureEventHandler) Disconnect(client *Client)
Disconnect ..
func (*PureEventHandler) Message ¶
func (peh *PureEventHandler) Message(client *Client, msg string)
Message ...
type WebSocket ¶
type WebSocket struct {
// contains filtered or unexported fields
}
WebSocket ...
func (*WebSocket) RegisterMiddleware ¶
func (w *WebSocket) RegisterMiddleware(hs handshake)
RegisterMiddleware ...
Click to show internal directories.
Click to hide internal directories.