package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: May 16, 2019
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Backend struct {
URL string `ini:"URL"`
User string `ini:"USER"`
Password string `ini:"PASSWORD"`
}
Backend defines the api backend configuration
Config defines the general configuration.
New prepares a new default configuration.
type General struct {
WatchFile string `ini:"WATCH_FILE"`
Root string `ini:"ROOT"`
RestartDelay int `ini:"RESTART_DELAY"`
}
General defines the general configuration.
type Log struct {
Level string `ini:"LEVEL"`
Colored bool `ini:"COLORED"`
Pretty bool `ini:"PRETTY"`
}
Log defines the logging configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.