Documentation ¶
Index ¶
- func ArmorStatDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ArmorStatGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ArmorStatPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ArmorStatPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ArmorStatsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func DistanceStatDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func DistanceStatGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func DistanceStatPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func DistanceStatPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DistanceStatsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func FeatureDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func FeatureGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func FeatureGroupDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func FeatureGroupGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func FeatureGroupPOST(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func FeatureGroupPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func FeatureGroupsGET(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func FeaturePOST(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func FeaturePUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func FeaturesGET(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func HealthGET(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)
- func IndexGET(w http.ResponseWriter, _ *http.Request, _ httprouter.Params)
- func ItemDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ItemGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ItemIndexGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ItemPOST(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ItemPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ItemsGET(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func LocationDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func LocationGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func LocationPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func LocationPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func LocationsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ModuleDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ModuleGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ModulePOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ModulePUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ModulesGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ProductionDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ProductionGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func ProductionPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func ProductionPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ProductionsGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func StatusNotFoundHandler() http.Handler
- func TokenGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func TokenPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func UserDELETE(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func UserGET(w http.ResponseWriter, _ *http.Request, ps httprouter.Params)
- func UserPOST(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func UserPUT(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UsersGET(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- type Status
- func StatusBadRequest(msg string) *Status
- func StatusCreated(msg string) *Status
- func StatusForbidden(msg string) *Status
- func StatusInternalServerError(msg string) *Status
- func StatusNotFound(msg string) *Status
- func StatusOK(msg string) *Status
- func StatusUnauthorized(msg string) *Status
- func StatusUnprocessableEntity(msg string) *Status
- func StatusUnsupportedMediaType(msg string) *Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
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 ¶
Status is used for status responses
func StatusBadRequest ¶
StatusBadRequest fills Status with an HTTP 400 status and message
func StatusCreated ¶
StatusCreated fills Status with an HTTP 201 status and message
func StatusForbidden ¶
StatusForbidden fills Status with an HTTP 403 status and message
func StatusInternalServerError ¶
StatusInternalServerError fills Status with an HTTP 500 status and message
func StatusNotFound ¶
StatusNotFound fills Status with an HTTP 404 status and message
func StatusUnauthorized ¶
StatusUnauthorized fills Status with an HTTP 401 status and message
func StatusUnprocessableEntity ¶
StatusUnprocessableEntity fills Status with an HTTP 422 status and message
func StatusUnsupportedMediaType ¶
StatusUnsupportedMediaType fills Status with an HTTP 415 status and message