server

package
v0.0.0-...-9c16532 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(options ...Option)

Types

type Debuggable

type Debuggable interface {
	Debug(to io.Writer)
}

type Option

type Option func(*server)

func BindAddress

func BindAddress(address string) Option

func Debug

func Debug() Option

func TickRate

func TickRate(tick time.Duration) Option

func Upgrader

func Upgrader(upgrader *websocket.Upgrader) Option

func WorldRadius

func WorldRadius(radius float64) Option

Jump to

Keyboard shortcuts

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