package
Version:
v0.1.0-alpha
Opens a new window with list of versions in this module.
Published: Mar 13, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 2
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 DB `ini:"Database"`
Webserver WebServer `ini:"WebServer"`
TCPServer TCPServer `ini:"TCPServer"`
}
type DB struct {
Server string `ini:"Server"`
Port int `ini:"Port"`
DBName string `ini:"DBName"`
}
type TCPServer struct {
Addr string `ini:"Address"`
Port int `ini:"Port"`
}
type WebServer struct {
Host string `ini:"Hostname"`
Port int `ini:"Port"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.