Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { VirtualStorageName string `toml:"virtual_storage_name"` ListenAddr string `toml:"listen_addr"` SocketPath string `toml:"socket_path"` Nodes []*models.Node `toml:"node"` Logging log.Config `toml:"logging"` Sentry sentry.Config `toml:"sentry"` PrometheusListenAddr string `toml:"prometheus_listen_addr"` Auth auth.Config `toml:"auth"` }
Config is a container for everything found in the TOML config file
func (Config) ConfigureLogger ¶
ConfigureLogger applies the settings from the configuration file to the logger, setting the log level and format.
Click to show internal directories.
Click to hide internal directories.