type T struct {
General struct {
DataPath string `gcfg:"data-path"`
}
API struct {
HttpPort int `gcfg:"http-port"`
DevelopmentModeAssets string `gcfg:"development-mode-assets"`
}
Network struct {
Port int
Hostname string
Join []string
}
Mining struct {
Processes int
}
}