environment

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogStyle = LogStyleJSON

Functions

func DevelopmentMode

func DevelopmentMode()

func JSONLogStyle

func JSONLogStyle()

func ProductionMode

func ProductionMode()

func TextLogStyle

func TextLogStyle()

Types

type LogStyleType

type LogStyleType string
const (
	LogStyleJSON LogStyleType = "json"
	LogStyleText LogStyleType = "text"
)

type ModeType

type ModeType string
const (
	ModeProduction  ModeType = "production"
	ModeStaging     ModeType = "staging"
	ModeDevelopment ModeType = "development"
)

Jump to

Keyboard shortcuts

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