handlers

package
v0.0.0-...-f1ee361 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMPLobby

func CreateMPLobby(r io.Reader, t *objects.Token)

func Err

func Err(w http.ResponseWriter)

func HandlePackets

func HandlePackets(b []byte, t *objects.Token)

HandlePackets is the Main Packet handler.

func JoinMPLobby

func JoinMPLobby(r io.Reader, t *objects.Token)

func LeaveMPLobby

func LeaveMPLobby(t *objects.Token)

func LobbyJoin

func LobbyJoin(t *objects.Token)

func LobbyLeave

func LobbyLeave(t *objects.Token)

func LoginHandler

func LoginHandler(w http.ResponseWriter, r *http.Request)

LoginHandler main Login Handler to Handle logins... Makes sense!

func StartTimeoutChecker

func StartTimeoutChecker()

StartTimeoutChecker Check for all Timeouts (Should only called once.)

func SwitchLobbySlot

func SwitchLobbySlot(r io.Reader, t *objects.Token)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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