Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupConfig ¶
func SetupConfig(configFilename string)
Types ¶
type PropertyHolder ¶
type PropertyHolder struct {
Bind string `cfg:"bind"`
Port int `cfg:"port"`
AppendOnly bool `cfg:"appendOnly"`
AppendFilename string `cfg:"appendFilename"`
MaxClients int `cfg:"maxclients"`
RequirePass string `cfg:"requirepass"`
Peers []string `cfg:"peers"`
Self string `cfg:"self"`
}
var Properties *PropertyHolder
Click to show internal directories.
Click to hide internal directories.