Versions in this module Expand all Collapse all v1 v1.8.7 May 20, 2022 Changes in this version + const MysqlDbTyp + const SqliteDbTyp + var EsLinkList = []EsLinkModel + type Config struct + AppSecret string + DbType string + DeBug bool + EsPwdSecret string + Log struct{ ... } + Mysql struct{ ... } + Port int + Sqlite struct{ ... } + Version string + var GlobConfig Config + func (this *Config) GetDbType() string + type DataxLinkInfoModel struct + Created string + DbName string + Id int + Ip string + Port int + Pwd string + Remark string + Typ string + Updated string + Username string + type DataxListModel struct + Created string + CrontabSpec string + Dbcount int + Error_msg string + EsConnect int + Escount int + FormData string + Id int + Index_name string + Remark string + Status string + Table_name string + Updated string + type EsLinkModel struct + Created string + ID int64 + Ip string + Pwd string + Remark string + Updated string + User string + Version int + func (this *EsLinkModel) FlushEsLinkList() (err error) + func (this *EsLinkModel) GetListAction() (esLinkList []EsLinkModel, err error) + type GmDslHistoryModel struct + Body string + Created string + FilterDate []string + ID int + IndexName string + Limit int + Method string + Page int + Path string + Uid int + func (this *GmDslHistoryModel) Clean() (err error) + func (this *GmDslHistoryModel) Count() (count int, err error) + func (this *GmDslHistoryModel) Insert() (err error) + func (this *GmDslHistoryModel) List() (gmDslHistoryModelList []GmDslHistoryModel, err error) + func (this *GmDslHistoryModel) TableName() string + type GmGuidModel struct + Created string + GuidName string + ID int + Uid int + func (this *GmGuidModel) TableName() string + type GmOperaterLog struct + Body string + Created string + ID int64 + Method string + OperaterAction string + OperaterId int64 + OperaterName string + OperaterRoleId int + Parmas string + func (this *GmOperaterLog) Insert() (err error) + func (this *GmOperaterLog) TableName() string + type GmRoleModel struct + Description string + ID int + RoleList string + RoleName string + func (this *GmRoleModel) Delete() (err error) + func (this *GmRoleModel) GetById(roleId int) (model GmRoleModel, err error) + func (this *GmRoleModel) Insert() (id int64, err error) + func (this *GmRoleModel) Select() (model []GmRoleModel, err error) + func (this *GmRoleModel) Update() (err error) + type GmUserModel struct + ID int32 + Password string + Realname string + RoleId int32 + Username string + func (this GmUserModel) Delete() (err error) + func (this GmUserModel) Exsit() (b bool, err error) + func (this GmUserModel) GetPassword() string + func (this GmUserModel) GetUserById() (gmUser GmUserModel, err error) + func (this GmUserModel) GetUserByUP() (gmUser GmUserModel, err error) + func (this GmUserModel) Insert() (id int64, err error) + func (this GmUserModel) Select() (gmUser []GmUserModel, err error) + func (this GmUserModel) Update() (err error)