server

package
v0.0.0-...-57ffcf5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Hello = iota
	KeepAlive
	GameOver
	Turn
)

Variables

This section is empty.

Functions

func NewQueue

func NewQueue(size int) *queue

Types

type Server

type Server interface {
	Serve() error
}

func NewServer

func NewServer(tlsConfig *tls.Config) Server

NewServer constructs a new instance of server which fullfills the requirements of the Server interface

Jump to

Keyboard shortcuts

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