config

package
v0.0.0-...-a6bae08 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootDir           = ""
	AppName           = "forge-go-base"
	AppVersion        string
	RestPort          string
	GrpcPort          string
	PidPath           string
	Env               string
	LogPath           string
	EnableMetrics     bool
	UseMigration      bool
	MigrationPath     string
	MigrationSkipInit bool
	EnableAuditing    bool
	AuditStorage      string
	AuditFilePath     string
	LogOutput         = os.Stdout
	ExecDir           = ""
)

Functions

func GetEnvOrDefault

func GetEnvOrDefault(envVar string, defEnvVar string) (newEnvVar string)

func GetEnvOrDefaultBool

func GetEnvOrDefaultBool(envVar string, defEnvVar bool) (newEnvVar bool)

func GetUniqueNumberForLock

func GetUniqueNumberForLock() (number int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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