package
1.47.0
Repository: https://github.com/googleforgames/agones.git
Documentation: pkg.go.dev

# Functions

ErrorHTTPHandler is a conversion function that sets up a http.StatusInternalServerError if an error is returned.
FourZeroFour is the standard 404 handler.
LogRequest logs all the JSON parsable fields in a request as otherwise, the request is not marshable.
NewServer returns a Server instance.

# Structs

Server is a HTTPs server that conforms to the runner interface we use in /cmd/controller, and has a public Mux that can be updated has a default 404 handler, to make discovery of k8s services a bit easier.

# Type aliases

ErrorHandlerFunc is a http handler that can return an error for standard logging and a 500 response.