env

package
v0.0.0-...-af8a321 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEnvSetting

func CheckEnvSetting(keys []string) error

func GetBoolWithDefault

func GetBoolWithDefault(key string, defaultValue bool) bool

func GetDurationEnvWithDefault

func GetDurationEnvWithDefault(key string, defaultValue time.Duration) time.Duration

func GetEnvWithDefault

func GetEnvWithDefault(key, defaultValue string) string

func GetInt64EnvWithDefault

func GetInt64EnvWithDefault(key string, defaultValue int64) int64

func GetIntEnvWithDefault

func GetIntEnvWithDefault(key string, defaultValue int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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