mudserver

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	User *entities.User
	// contains filtered or unexported fields
}

Connection ...

type MUDServer

type MUDServer interface {
	Run()
	GameCtrl() def.GameCtrl
	HandleConnections(*gin.Context)
}

MUDServer ... server application connecting the websocket clients with the game instance, providing utility functions etc.

func New

func New(facade service.Facade) MUDServer

New creates a new mud server

Directories

Path Synopsis
def

Jump to

Keyboard shortcuts

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