This commit is contained in:
2024-04-16 14:26:06 +03:00
parent bc264c4d90
commit e7c968797b
298 changed files with 11066 additions and 398 deletions

View File

@@ -13,7 +13,7 @@ type ItemUser struct {
Active bool `json:"active"`
// APIAccess
APIAccess []uint64 `json:"apiaccess"`
APIAccess map[string]string `json:"apiaccess"`
// AuthKey
AuthKey string `json:"authkey"`
@@ -52,7 +52,7 @@ type ItemUser struct {
Mobile []interface{} `json:"mobile"`
// Password
Password string `json:"password"`
Password string `json:"passwd"`
// Protected
Protected bool `json:"protected"`
@@ -110,7 +110,13 @@ type ItemAudit struct {
Time float64 `json:"Time"`
}
type ListAudits []ItemAudit
type ListAudits struct {
// Data
Data []ItemAudit `json:"data"`
// Entry count
EntryCount uint64 `json:"entryCount"`
}
type ResponseTime float64