Documentation
¶
Index ¶
Constants ¶
View Source
const DATA = `` /* 551-byte string literal not displayed */
DATA ... todo fix
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessItem ¶
type AccessItem struct {
Actions []string `json:"actions"`
Method string `json:"method"`
Description string `json:"description"`
RoleName string `json:"role_name"`
}
AccessItem ...
type AccessListService ¶
type AccessListService interface {
ReadConfig() (err error)
GetFullAccessList(roleName string) (accessList AccessList, err error)
GetShotAccessList(role *m.Role) (err error)
List() *AccessList
}
AccessListService ...
func NewAccessListService ¶
func NewAccessListService(adaptors *adaptors.Adaptors) AccessListService
NewAccessListService ...
Click to show internal directories.
Click to hide internal directories.