nexus_gorilla

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 18 Imported by: 0

README

Nexus Gorilla

Nexus Server Implementation with Gorilla.

Support

If you find this project useful, you can support its development by buying me a coffee:

Buy Me A Coffee

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() nexus.Runner

func NewWsClient

func NewWsClient(conn *websocket.Conn) nexus.WebsocketClient

Types

type Gorilla

type Gorilla struct {
	// contains filtered or unexported fields
}

func (*Gorilla) Start

func (g *Gorilla) Start(config nexus.Config) fail.CustomError

type WsClient

type WsClient struct {
	// contains filtered or unexported fields
}

func (*WsClient) Close

func (client *WsClient) Close() fail.CustomError

func (*WsClient) Closed

func (client *WsClient) Closed() *fail.ErrorList

func (*WsClient) GetId

func (client *WsClient) GetId() string

func (*WsClient) OnClose

func (client *WsClient) OnClose(toDo func() fail.CustomError)

func (*WsClient) Send

func (client *WsClient) Send(data []byte) fail.CustomError

func (*WsClient) SendJson

func (client *WsClient) SendJson(data any) fail.CustomError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址