package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: May 6, 2016
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func NewConfig(file string) *config
NewConfig constructor
type Config struct {
Debug bool `yaml:"debug"`
Server Server `yaml:"server"`
}
type Server struct {
Address string `yaml:"address"`
PingTimeout int `yaml:"ping_timeout"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.