Documentation ¶
Index ¶
- type Config
- func (_m *Config) Add(name string, configuration any)
- func (_m *Config) Env(envName string, defaultValue ...interface{}) interface{}
- func (_m *Config) Get(path string, defaultValue ...interface{}) interface{}
- func (_m *Config) GetBool(path string, defaultValue ...interface{}) bool
- func (_m *Config) GetInt(path string, defaultValue ...interface{}) int
- func (_m *Config) GetString(path string, defaultValue ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is an autogenerated mock type for the Config type
func NewConfig ¶
func NewConfig(t mockConstructorTestingTNewConfig) *Config
NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Click to show internal directories.
Click to hide internal directories.