usermngmt/cache/model.go

9 lines
178 B
Go
Raw Permalink Normal View History

2021-11-11 08:16:17 +00:00
package cache
// CachedRole ...
type CachedRole struct {
Role string `json:"role"`
IsAdmin bool `json:"isAdmin"`
Permissions []string `json:"permissions"`
}