config

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SvcName     envVariable = "SVC_NAME"
	SvcHostname envVariable = "SVC_HOSTNAME"
	SvcPort     envVariable = "SVC_PORT"
	SvcMemPort  envVariable = "SVC_MEM_PORT"
	SvcBaseUrl  envVariable = "SVC_BASE_URL"
	SvcSeed     envVariable = "SVC_SEED"
	// Accept 'mono' for monolith mode or 'micro' for microservice mode
	SvcMode envVariable = "SVC_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