Documentation
¶
Index ¶
- func New() nexus.Runner
- func NewWsClient(conn *websocket.Conn) nexus.WebsocketClient
- type Gorilla
- type WsClient
- func (client *WsClient) Close() fail.CustomError
- func (client *WsClient) Closed() *fail.ErrorList
- func (client *WsClient) GetId() string
- func (client *WsClient) OnClose(toDo func() fail.CustomError)
- func (client *WsClient) Send(data []byte) fail.CustomError
- func (client *WsClient) SendJson(data any) fail.CustomError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWsClient ¶
func NewWsClient(conn *websocket.Conn) nexus.WebsocketClient
Types ¶
Click to show internal directories.
Click to hide internal directories.