http

package
v0.0.0-...-b083768 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteJson

func WriteJson(writer http.ResponseWriter, value interface{})

not actually used anywhere anymore

func WriteStatus

func WriteStatus(writer http.ResponseWriter, status int, message string, errors ...error)

not actually used anywhere anymore

Types

type LobbyHttpInterface

type LobbyHttpInterface struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewLobbyHttpInterface

func NewLobbyHttpInterface(lobby *base.Lobby) *LobbyHttpInterface

func (*LobbyHttpInterface) HandleNewConnection

func (this *LobbyHttpInterface) HandleNewConnection(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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