api

package
v0.0.0-...-b323ef8 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRoot

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

HandleRoot handles the root endpoint

func Hello

func Hello(w http.ResponseWriter, req *http.Request)

Hello handles the hello endpoint

func NewRouter

func NewRouter() http.Handler

Types

type PlayerController

type PlayerController interface {
	Register(w http.ResponseWriter, r *http.Request)
	Login(w http.ResponseWriter, r *http.Request)
}

func NewPlayerController

func NewPlayerController() PlayerController

Jump to

Keyboard shortcuts

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