environment

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOsEnv

func NewOsEnv() *osEnv

Types

type EnvProvider

type EnvProvider interface {
	CurrEnv() Environment
}

type Environment

type Environment string
const (
	DevEnv        Environment = "development"
	TestingEnv    Environment = "test"
	StagingEnv    Environment = "staging"
	QAEnv         Environment = "qa"
	UnicornEnv    Environment = "unicorn"
	SandboxEnv    Environment = "sandbox"
	ProductionEnv Environment = "production"
)

func (Environment) IsStructuredLogging

func (e Environment) IsStructuredLogging() bool

func (Environment) String

func (e Environment) String() string

Jump to

Keyboard shortcuts

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