constant

package
v0.0.0-...-7dc6c5b Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// EnvPrefix is the prefix of environment key.
	EnvPrefix = "SL"

	// EnvWebServerAddress is the environment key for specifying server address.
	EnvWebServerAddress = "WEB_SERVER_ADDRESS"

	// EnvMode is the environment key for running environment mode.
	EnvMode = "MODE"

	// EnvBasePath is the environment key for base path.
	EnvBasePath = "BASE_PATH"

	// EnvLogLevel is the environment key for log level.
	EnvLogLevel = "LOG_LEVEL"
)
View Source
const (
	// DevMode is the development mode.
	DevMode = "dev"

	// ProdMode is the production mode.
	ProdMode = "prod"

	// DefaultProjectPath is the path of project.
	DefaultProjectPath = "github.com/sutd-statnlp/service-ladrawex"
)
View Source
const (
	// ConfigName is the default config file name.
	ConfigName = "ladrawex"

	// DevConfigName is the config file name for development.
	DevConfigName = "ladrawex-dev"

	// ProdConfigName is the config file name for production.
	ProdConfigName = "ladrawex-prod"

	// ConfigPath is the path for finding config files.
	ConfigPath = "/"

	// ConfigType is the type of config file.
	ConfigType = "yaml"
)

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