Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logger struct {
Color bool `ini:"color"`
Level string `ini:"level"`
LogFile string `ini:"logFile"`
Logger Logger
Repo Repo
OsInstall OsInstall
Vm Vm
Rsa Rsa
Cron Cron
}
Repo struct {
Connection string `ini:"connection"`
ConnectionIsCrypted string `ini:"connectionIsCrypted"`
Addr string
}
OsInstall struct {
PxeConfigDir string `ini:"pxeConfigDir"`
}
Vm struct {
Storage string `ini:"storage"`
}
Rsa struct {
PublicKey string `ini:"publicKey"`
PrivateKey string `ini:"privateKey"`
}
Cron struct {
InstallTimeout int `ini:"installTimeout"`
}
ActiveMQ struct {
Server string `ini:"server"`
}
}
Config config 数据结构体
Click to show internal directories.
Click to hide internal directories.