Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceConfig ¶
type ServiceConfig struct {
Monitor struct {
Host string
Port int
User string
Password string
DBName string
}
Coordinator struct {
Formation string
Username string
Password string
DBName string
}
Settings struct {
CheckInterval int
Debug bool
}
API struct {
Enabled bool
Port string
Secret string
}
}
var Config ServiceConfig
func InitConfig ¶
func InitConfig(configPath string) (*ServiceConfig, error)
Click to show internal directories.
Click to hide internal directories.