Versions in this module Expand all Collapse all v0 v0.7.0 Aug 9, 2021 v0.6.1 Feb 20, 2021 Changes in this version + const RoleGuest + type Resolve struct + Host string + Id int64 + Ttl uint32 + Type string + Utimestamp int64 + Value string + type Resolves []TblResolve + func (rs Resolves) GetIndex(r *Resolve) int + func (rs Resolves) GetTypeConflict(r *Resolve) (*Resolve, Resolves) + func (rs Resolves) GetValueConflict(r *Resolve) *Resolve + func (rs Resolves) Len() int + func (rs Resolves) Less(i, j int) bool + func (rs Resolves) Swap(i, j int) + type TblResolve struct + Ctime time.Time + Host string + Id int64 + Ttl uint32 + Type string + Utime time.Time + Value string v0.4.1 Oct 5, 2020 v0.4.0 Oct 4, 2020 Changes in this version + type Resolv struct + Host string + Ttl uint32 + Type string + Value string v0.3.0 Aug 31, 2020 Changes in this version + const CodeBadData + const CodeBadPermission + const CodeExpire + const CodeNoAuth + const CodeNoData + const CodeNoPermission + const CodeOK + const CodeServerInternal + const GODNS_RFI_KEY + const GODNS_RFI_VALUE + const RoleAdmin + const RoleNormal + const RoleSuper + type AppSecurity struct + DnsAddr string + HttpAddr string + Token string + type AppSecuritySet struct + Password string + type AppSetting struct + Callback string + CleanHour int64 + Rebind []string + type CR struct + Code int + Error error + Message string + Result interface{} + Timestamp int64 + type DeleteRecordRequest struct + Ids []int64 + type DnsRecord struct + Callback string + Ctime time.Time + Domain string + Id int64 + Ip string + Uid int64 + Var string + type DnsRecordResp struct + Data []DnsRecord + type HttpRecord struct + Callback string + Ctime time.Time + Ctype string + Data string + Id int64 + Ip string + Method string + Path string + Ua string + Uid int64 + type HttpRecordResp struct + Data []HttpRecord + type LoginRequest struct + Email string + Password string + Username string + type LoginResponse struct + Islogin bool + Lang string + RoleId string + Token string + Username string + type Pagination struct + PageNo int + PageSize int + TotalCount int + TotalPage int + type Permission struct + ActionEntitySet []PermissionActionSet + PermissionId string + PermissionName string + RoleId int + type PermissionActionSet struct + Action string + DefaultCheck bool + Description string + type Role struct + Description string + Id string + Name string + Permissions []Permission + type TblDns struct + Atime time.Time + Ctime time.Time + Domain string + Id int64 + Ip string + Uid int64 + Var string + type TblHttp struct + Atime time.Time + Ctime time.Time + Ctype string + Data string + Id int64 + Ip string + Method string + Path string + Ua string + Uid int64 + Var string + type TblUser struct + Atime time.Time + Callback string + CallbackMessage string + CleanInterval int64 + Email string + Id int64 + Lang string + Name string + Pass string + Rebind []string + Role int + ShortId string + Token string + Utime time.Time + type UserInfo struct + Avatar string + Email string + Id int64 + Language string + Name string + Role Role + Utime time.Time + type UserListResp struct + Data []UserInfo + type UserRequest struct + Email string + Id int64 + Language string + Name string + Password string + Role int