env

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string, defaultValue bool) bool

func Duration

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

func Float64

func Float64(key string, defaultValue float64) float64

func Int

func Int(key string, defaultValue int) int

func ServicePort

func ServicePort(key string, defaultValue int) int

func SetTestMode

func SetTestMode(val bool)

func String

func String(key, defaultValue string) string

func TestMode

func TestMode() bool

func True

func True(key string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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