v1.8.0
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user