Discover Packages
github.com/Armageddon6026/zender
pkg
model
package
Version:
v0.0.0-...-f638a73
Opens a new window with list of versions in this module.
Published: Aug 30, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type GroupInfo struct {
Id int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Note string `json:"note,omitempty"`
}
type GroupTable struct {
Id int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Note string `json:"note,omitempty"`
}
type GroupUpdate struct {
Name string `json:"name,omitempty"`
Note string `json:"note,omitempty"`
}
type Jwt struct {
Token string `json:"token,omitempty"`
}
type LoginService struct {
Uuid string `json:"uuid,omitempty"`
Name string `json:"name,omitempty"`
Ip string `json:"ip,omitempty"`
ScanFiles map[string ]ScanFile `json:"scanFiles,omitempty"`
ScanApplications map[string ]ScanApplication `json:"scanApplications,omitempty"`
}
type ScanApplication struct {
Name string `json:"Name,omitempty"`
LastDataTime int64 `json:"lastDataTime,omitempty"`
}
type ScanFile struct {
Path string `json:"path,omitempty"`
DataCount int32 `json:"dataCount,omitempty"`
LastDataTime int64 `json:"lastDataTime,omitempty"`
}
type ServiceInfo struct {
Uuid string `json:"uuid,omitempty"`
Name string `json:"name,omitempty"`
PrivateKey string `json:"privateKey,omitempty"`
GroupId int `json:"groupId,omitempty"`
}
type ServiceInsert struct {
Uuid string `json:"uuid,omitempty"`
Name string `json:"name,omitempty"`
PrivateKey string `json:"privateKey,omitempty"`
GroupId int `json:"groupId,omitempty"`
}
type ServiceTable struct {
Sn int `json:"sn,omitempty"`
Uuid string `json:"uuid,omitempty"`
Name string `json:"name,omitempty"`
PrivateKey string `json:"privateKey,omitempty"`
GroupId int `json:"groupId,omitempty"`
}
type ServiceUpdate struct {
Name string `json:"name,omitempty"`
GroupId int `json:"groupId,omitempty"`
}
type UserAuthUpdate struct {
Role int `json:"role,omitempty"`
Auth bool `json:"Auth,omitempty"`
}
type UserInfo struct {
Account string `json:"account,omitempty"`
Name string `json:"name,omitempty"`
Date time .Time `json:"date,omitempty"`
Role int `json:"role,omitempty"`
}
type UserInsert struct {
Name string `json:"name,omitempty"`
Password string `json:"password,omitempty"`
}
type UserTable struct {
Id int `json:"id,omitempty"`
Account string `json:"account,omitempty"`
Password string `json:"password,omitempty"`
Name string `json:"name,omitempty"`
Date string `json:"date,omitempty"`
Role int `json:"role,omitempty"`
Auth bool `json:"Auth,omitempty"`
}
type UserUpdate struct {
Name string `json:"name,omitempty"`
Password string `json:"password,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.