package
Version:
v0.0.0-...-71b0d36
Opens a new window with list of versions in this module.
Published: Mar 20, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Default represents default configuration in YAML format with 2-space
type Config struct {
Debug bool
Database Database `mapstructure:"database"`
App struct {
Broker struct {
Addr string
}
}
Node struct {
Broker struct {
Addr string
}
}
}
Config holds all lanserver component configurations
New reads configuration with viper
type Database struct {
URL string `mapstructure:"url"`
Name string `mapstructure:"name"`
}
Database holds database configuration
Source Files
¶
Click to show internal directories.
Click to hide internal directories.