env

package
v1.8.1-0...-ed8303a Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package env contains all about environment variables, that can be used by current application.

Index

Constants

View Source
const (
	LogLevel  envVariable = "LOG_LEVEL"  // logging level
	LogFormat envVariable = "LOG_FORMAT" // logging format (json|console)

	ListenAddr       envVariable = "LISTEN_ADDR"        // IP address for listening
	ListenPort       envVariable = "LISTEN_PORT"        // port number for listening
	TemplateName     envVariable = "TEMPLATE_NAME"      // template name
	ConfigFilePath   envVariable = "CONFIG_FILE"        // path to the config file
	DefaultErrorPage envVariable = "DEFAULT_ERROR_PAGE" // default error page (code)
	DefaultHTTPCode  envVariable = "DEFAULT_HTTP_CODE"  // default HTTP response code
	ShowDetails      envVariable = "SHOW_DETAILS"       // show request details in response
	ProxyHTTPHeaders envVariable = "PROXY_HTTP_HEADERS" // proxy HTTP request headers list (request -> response)
	DisableL10n      envVariable = "DISABLE_L10N"       // disable pages localization
	CatchAll         envVariable = "CATCH_ALL"          // catch all pages
	ReadBufferSize   envVariable = "READ_BUFFER_SIZE"   // https://github.com/tarampampam/error-pages/issues/238
)

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