configure

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(call func(key string, val any))

Dump Used to output all used configurations

func GetBool

func GetBool(key string, def ...bool) bool

func GetDuration

func GetDuration(key string, def ...time.Duration) time.Duration

func GetInt

func GetInt(key string, def ...int) int

func GetString

func GetString(key string, def ...string) string

func GetSub

func GetSub(key string) map[string]interface{}

func GetUint64

func GetUint64(key string, def ...uint64) uint64

func MustGetString

func MustGetString(key string) (string, *errors.Error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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