Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessItem ¶
type AccessLevels ¶
type AccessLevels map[string]AccessItem
func NewAccessLevels ¶
func NewAccessLevels() AccessLevels
type AccessList ¶
type AccessList map[string]AccessLevels
func NewAccessList ¶
func NewAccessList() AccessList
type AccessListService ¶
type AccessListService struct { List *AccessList // contains filtered or unexported fields }
func NewAccessListService ¶
func NewAccessListService(adaptors *adaptors.Adaptors) *AccessListService
func (*AccessListService) GetFullAccessList ¶
func (a *AccessListService) GetFullAccessList(role *m.Role) (accessList AccessList, err error)
func (*AccessListService) GetShotAccessList ¶
func (a *AccessListService) GetShotAccessList(role *m.Role) (err error)
func (*AccessListService) ReadConfig ¶
func (a *AccessListService) ReadConfig(path string) (err error)
Click to show internal directories.
Click to hide internal directories.