config

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GddBanner       envVariable = "GDD_BANNER"
	GddBannerText   envVariable = "GDD_BANNERTEXT"
	GddLogLevel     envVariable = "GDD_LOGLEVEL"
	GddLogPath      envVariable = "GDD_LOGPATH"
	GddGraceTimeout envVariable = "GDD_GRACETIMEOUT"
	GddWriteTimeout envVariable = "GDD_WRITETIMEOUT"
	GddReadTimeout  envVariable = "GDD_READTIMEOUT"
	GddIdleTimeout  envVariable = "GDD_IDLETIMEOUT"
	GddOutput       envVariable = "GDD_OUTPUT"

	GddName     envVariable = "GDD_NAME"
	GddHostname envVariable = "GDD_HOSTNAME"
	GddPort     envVariable = "GDD_PORT"
	GddMemPort  envVariable = "GDD_MEM_PORT"
	GddBaseUrl  envVariable = "GDD_BASE_URL"
	GddSeed     envVariable = "GDD_SEED"
	// Accept 'mono' for monolith mode or 'micro' for microservice mode
	GddMode envVariable = "GDD_MODE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLevel

type LogLevel logrus.Level

func (*LogLevel) Decode

func (ll *LogLevel) Decode(value string) error

type Switch

type Switch bool

func (*Switch) Decode

func (s *Switch) Decode(value string) error

Jump to

Keyboard shortcuts

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