Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf config Conf = &Config{} )
global var
Functions ¶
Types ¶
type BiliHub ¶
type BiliHub struct { Host string HostName string Username string Password string MerlinPub string MachineTagPri string SupportNetWork []string SuperOwner []string }
BiliHub BiliHub.
type Config ¶
type Config struct { Version string `toml:"version"` // base // elk Log *log.Config // http BM *bm.ServerConfig // ecode Ecode *ecode.Config HTTPClient *bm.ClientConfig Memcache *Memcache // orm ORM *orm.Config Paas *model.PaasConf ServiceTree *model.TreeConf Mail *Mail Scheduler *Scheduler Auth *permit.Config BiliHub *BiliHub DeviceFarm *DeviceFarm WeChat *WeChat }
Config config set
type DeviceFarm ¶
DeviceFarm DeviceFarm
type Scheduler ¶
type Scheduler struct { GetExpiredMachinesTime string SendTaskMailMachinesWillExpiredTime string DeleteExpiredMachinesInTask string CheckMachinesStatusInTask string UpdateMobileDeviceInTask string UpdateSnapshotStatusInDoing string Active bool ExpiredDate int }
Scheduler scheduler
type WeChat ¶
type WeChat struct { WeChatHost string WeChatDeviceFarm *WeChatDeviceFarm }
WeChat WeChat config
Click to show internal directories.
Click to hide internal directories.