Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HTTPStatusMapping = map[string]int{ "StatusContinue": http.StatusContinue, "StatusSwitchingProtocols": http.StatusSwitchingProtocols, "StatusProcessing": http.StatusProcessing, "StatusEarlyHints": http.StatusEarlyHints, "StatusOK": http.StatusOK, "StatusCreated": http.StatusCreated, "StatusAccepted": http.StatusAccepted, "StatusNonAuthoritativeInfo": http.StatusNonAuthoritativeInfo, "StatusNoContent": http.StatusNoContent, "StatusResetContent": http.StatusResetContent, "StatusPartialContent": http.StatusPartialContent, "StatusMultiStatus": http.StatusMultiStatus, "StatusAlreadyReported": http.StatusAlreadyReported, "StatusIMUsed": http.StatusIMUsed, "StatusMultipleChoices": http.StatusMultipleChoices, "StatusMovedPermanently": http.StatusMovedPermanently, "StatusFound": http.StatusFound, "StatusSeeOther": http.StatusSeeOther, "StatusNotModified": http.StatusNotModified, "StatusUseProxy": http.StatusUseProxy, "StatusTemporaryRedirect": http.StatusTemporaryRedirect, "StatusPermanentRedirect": http.StatusPermanentRedirect, "StatusBadRequest": http.StatusBadRequest, "StatusUnauthorized": http.StatusUnauthorized, "StatusPaymentRequired": http.StatusPaymentRequired, "StatusForbidden": http.StatusForbidden, "StatusNotFound": http.StatusNotFound, "StatusMethodNotAllowed": http.StatusMethodNotAllowed, "StatusNotAcceptable": http.StatusNotAcceptable, "StatusProxyAuthRequired": http.StatusProxyAuthRequired, "StatusRequestTimeout": http.StatusRequestTimeout, "StatusConflict": http.StatusConflict, "StatusGone": http.StatusGone, "StatusLengthRequired": http.StatusLengthRequired, "StatusPreconditionFailed": http.StatusPreconditionFailed, "StatusRequestEntityTooLarge": http.StatusRequestEntityTooLarge, "StatusRequestURITooLong": http.StatusRequestURITooLong, "StatusUnsupportedMediaType": http.StatusUnsupportedMediaType, "StatusRequestedRangeNotSatisfiable": http.StatusRequestedRangeNotSatisfiable, "StatusExpectationFailed": http.StatusExpectationFailed, "StatusTeapot": http.StatusTeapot, "StatusMisdirectedRequest": http.StatusMisdirectedRequest, "StatusUnprocessableEntity": http.StatusUnprocessableEntity, "StatusLocked": http.StatusLocked, "StatusFailedDependency": http.StatusFailedDependency, "StatusTooEarly": http.StatusTooEarly, "StatusUpgradeRequired": http.StatusUpgradeRequired, "StatusPreconditionRequired": http.StatusPreconditionRequired, "StatusTooManyRequests": http.StatusTooManyRequests, "StatusRequestHeaderFieldsTooLarge": http.StatusRequestHeaderFieldsTooLarge, "StatusUnavailableForLegalReasons": http.StatusUnavailableForLegalReasons, "StatusInternalServerError": http.StatusInternalServerError, "StatusNotImplemented": http.StatusNotImplemented, "StatusBadGateway": http.StatusBadGateway, "StatusServiceUnavailable": http.StatusServiceUnavailable, "StatusGatewayTimeout": http.StatusGatewayTimeout, "StatusHTTPVersionNotSupported": http.StatusHTTPVersionNotSupported, "StatusVariantAlsoNegotiates": http.StatusVariantAlsoNegotiates, "StatusInsufficientStorage": http.StatusInsufficientStorage, "StatusLoopDetected": http.StatusLoopDetected, "StatusNotExtended": http.StatusNotExtended, "StatusNetworkAuthenticationRequired": http.StatusNetworkAuthenticationRequired, }
HTTPStatusMapping maps the string representation of the HTTP status constant to its integer value.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.