configutil

package
v0.48.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(v *viper.Viper, cfg config, envPrefix string, decodeFuncs ...mapstructure.DecodeHookFunc) error

Unmarshal loads config from Viper into the structure pointed to by cfg. Also, assigns all the necessary env variables by `envPrefix`. It decodes with custom support for keys.PublicKeys, uint32, and util.Uint160, and applies keys. Returns an error if decoding fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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