common

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CorrelationID   = "X-Correlation-ID"
	ContentType     = "Content-Type"
	ContentTypeJSON = "application/json"
	ContentTypeText = "text/plain"
)
View Source
const (
	ApiVersion = "v1"
	ApiBase    = "/api/v1"

	ApiConfigRoute  = ApiBase + "/config"
	ApiPingRoute    = ApiBase + "/ping"
	ApiVersionRoute = ApiBase + "/version"
	ApiSecretRoute  = ApiBase + "/secret"
)
View Source
const (
	EnvKeyStartupDuration = "EDGE_STARTUP_DURATION"
	EnvKeyStartupInterval = "EDGE_STARTUP_INTERVAL"
	EnvKeyConfigDir       = "EDGE_CONFIG_DIR"
	EnvKeyConfigFile      = "EDGE_CONFIG_FILE"

	EnvSecretStore             = "EDGE_SECURITY_SECRET_STORE"
	EnvKeyDisableJWTValidation = "EDGE_DISABLE_JWT_VALIDATION"
)

Variables

This section is empty.

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