constants

package
v0.0.0-...-c4a3ebf Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Keep it alphabetically sorted
	LogKeyApp              = "_app"
	LogKeyEnv              = "_env"
	LogKeyHost             = "_host"
	LogKeyHTTPMethod       = "_http_method"
	LogKeyHTTPStatus       = "_http_status"
	LogKeyRemoteAddr       = "_remote_addr"
	LogKeyResquestDuration = "_request_duration_ms"
	LogKeyResquestID       = "_request_id"
	LogKeyTimestamp        = "_timestamp"
	LogKeyURLPath          = "_url_path"
	LogKeyUserAgent        = "_user_agent"

	HeaderKeyRequestID = "X-Request-ID"
)

LogKey are constants to be used for log field names

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