backend

package
v0.0.0-...-a393644 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGorillaServer

func NewGorillaServer(
	port int,
	mudDatabase *data.Database,
	handleMessage func(g *messages.Server, ws *messages.WebSocketContainer, m messages.BasicMessage, p []byte) error,
	handleDisconnect func(ws *messages.WebSocketContainer),
) (*messages.Server, *http.Server)

func StartGorillaServer

func StartGorillaServer(
	port int,
	mudDatabase *data.Database,
	handleMessage func(g *messages.Server, ws *messages.WebSocketContainer, m messages.BasicMessage, p []byte) error,
	handleDisconnect func(ws *messages.WebSocketContainer),
) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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