Documentation
¶
Overview ¶
Package conf is an helper package for managing configuration files.
Index ¶
Constants ¶
View Source
const SampleConf = `` /* 450-byte string literal not displayed */
SampleConf is a sample configuration file.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct {
SQLInfo struct {
User string
Pass string
Name string
Host string
DBType string
}
Ports struct {
HTTP string
HTTPS string
}
}
Conf is a struct containing the instance information on ripple.
func GetFromFile ¶
GetFromFile retrieves the data from a file and uses it to make a new Conf.
Click to show internal directories.
Click to hide internal directories.