Documentation ¶
Overview ¶
httpStatusCodesMap contains basic http response codes
Index ¶
Constants ¶
View Source
const ( ForceHTTPSAnnotation = "monitor.stakater.com/forceHttps" OverridePathAnnotation = "monitor.stakater.com/overridePath" MonitorEnabledAnnotation = "monitor.stakater.com/enabled" MonitorNameAnnotation = "monitor.stakater.com/name" MonitorHealthAnnotation = "monitor.stakater.com/healthEndpoint" // "/health" )
Variables ¶
View Source
var StatusCodes = map[string]int{
"OK": 200,
"NOT_FOUND": 404,
"UN_AUTHORISED": 401,
"BAD_REQUEST": 400,
"CREATED": 201}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.