package
Version:
v0.0.0-...-6690423
Opens a new window with list of versions in this module.
Published: Apr 5, 2017
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Database Database `yaml:"database"`
Web Web `yaml:"web"`
LogOutput string `yaml:"log_output"`
}
ConfigTest returns the test configuration file
type Database struct {
Username string `yaml:"username"`
Password string `yaml:"password"`
Hostname string `yaml:"hostname"`
Database string `yaml:"database"`
Port int `yaml:"port"`
Dialect string `yaml:"dialect"`
Location string `yaml:"location"`
}
type Web struct {
Address string `yaml:"address"`
Port int `yaml:"port"`
StaticFiles string `yaml:"static_files"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.