Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DB *gorm.DB AlertDB *gorm.DB TaskDB *gorm.DB AgentDB *gorm.DB LOG *logrus.Logger CONF ServerConfig Api ApiInterface VALID *validator.Validate SESSION *psession.PSession Viper *viper.Viper I18n *i18n.Localizer I18nForCmd *i18n.Localizer Cron *cron.Cron ScriptSyncJobID cron.EntryID IPTracker *auth.IPTracker )
Functions ¶
This section is empty.
Types ¶
type ApiInterface ¶
type Base ¶
type Base struct {
Mode string `mapstructure:"mode"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
Language string `mapstructure:"language"`
IsDemo bool `mapstructure:"is_demo"`
IsIntl bool `mapstructure:"is_intl"`
IsOffLine bool `mapstructure:"is_offline"`
IsFxplay bool `mapstructure:"is_fxplay"`
Version string `mapstructure:"version"`
InstallDir string `mapstructure:"install_dir"`
ChangeUserInfo string `mapstructure:"change_user_info"`
EncryptKey string `mapstructure:"encrypt_key"`
}
Click to show internal directories.
Click to hide internal directories.