1
0
Fork 0
hivemind/internal/config/defaults.go

21 lines
400 B
Go

package config
var DefaultConfig = Config{
Node: NodeConfig{
ListenOn: "0.0.0.0",
Port: 56714,
KeepaliveInterval: 10,
LogLevel: LogLevelInfo,
},
Configs: Configs{
Master: MasterConfig{
ObserverInterval: 20,
BackoffSeconds: 1,
BackoffCount: 4,
NodeTimeout: 120,
},
Host: HostConfig{
ListenAddress: "0.0.0.0:56715",
},
},
}