Expand description
A library with common configuration items and utility functions
Structs§
- Default
Resolver - Default resolver that does not resolves to any alterantive/custom configuration filename
- Logging
- Logging configuration
- Network
- Networking configuration
- Proxy
- Proxy configuration
Traits§
- CFGResolver
- trait that asks for config filename (takes precedence over other guessings)
Functions§
- create_
log_ config - Create a logging configuration
- get_
app_ id - Get Application id
- get_
app_ vars - Obtain defined “app” variables. Warning must be called AFTER set_app_id()!
- get_
config_ file_ name - Get name of config file resulting of various options
- get_
env_ vars - Obtain watched environment variables. Warning must be called AFTER set_app_id()!
- read_
config_ from_ yaml - Read file into String and deserialize YAML object
- set_
app_ id - Set the id of using app