load

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(loader ConfigurationLoader, fs afero.Fs, configFile string) error

Types

type ConfigurationLoader

type ConfigurationLoader interface {
	ReadInConfig() error
	SetConfigFile(file string)
	SetFs(afero.Fs)
}

type ConfigurationUnmarshaler

type ConfigurationUnmarshaler interface {
	Unmarshal(rawVal interface{}, opts ...viper.DecoderConfigOption) error
}

Jump to

Keyboard shortcuts

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