Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages a cache of roles by fetching unknown roles from the settings.RoleService.
func NewManager ¶
NewManager returns a new instance of Manager.
type Option ¶
type Option func(*Options)
Option mutates option
func RoleService ¶
func RoleService(rs settings.RoleService) Option
RoleService provides endpoints for fetching roles.
Click to show internal directories.
Click to hide internal directories.