This commit is contained in:
2023-06-23 15:13:22 +03:00
parent c06a3198f6
commit 264538f492
50 changed files with 2143 additions and 76 deletions

View File

@@ -0,0 +1,42 @@
package group
type ItemGroup struct {
// CKey
CKey string `json:"_ckey"`
// Meta
Meta []interface{} `json:"meta"`
// Is active
Actice bool `json:"active"`
// Description
Description string `json:"description"`
// Domain
Domain string `json:"domain"`
// GID
GID uint64 `json:"gid"`
// GUID
GUID string `json:"guid"`
// ID
ID string
// Last check
LastCheck uint64 `json:"lastcheck"`
// Roles
Roles []interface{} `json:"roles"`
// Users
Users []string `json:"users"`
}
type ListGroups struct {
Data []ItemGroup `json:"data"`
EntryCount uint64 `json:"entryCount"`
}