server

package
v0.0.0-...-bf6d460 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(p *player.Player) *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) Listen

func (s *Server) Listen(addr string, port int) error

TODO: Join Listen() and Serve()?

func (*Server) Serve

func (s *Server) Serve()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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