Documentation ¶
Index ¶
- func NewUser(r *http.Request) ident.Ident
- type User
- func (m User) GetAspect() string
- func (m User) GetDisplay() string
- func (m User) GetGroups() []string
- func (m User) GetIdentity() string
- func (m User) GetMeta() map[string]string
- func (m User) GetRoles() []string
- func (m User) HasGroup(g ...string) bool
- func (m User) HasRole(r ...string) bool
- func (m User) IsActive() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.