turnly

package module
v0.0.0-...-7bc34ee Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 8 Imported by: 0

README

turnly

go.dev reference deploy Go Report Card

turnly is a server for turn-based games. It's designed to be simple to use and setup. It does all the heavy lifting for you and only required you to give it some state and a set of rules to transform that state.

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
}

Server represents a server

func NewServer

func NewServer(port, capacity int) *Server

NewServer creates a new server

func (*Server) Start

func (s *Server) Start()

Start the server

Jump to

Keyboard shortcuts

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