constants

package
v1.0.62 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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