Documentation
¶
Index ¶
Constants ¶
View Source
const DATA = `` /* 13284-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(ctx context.Context) (err error)
GetFullAccessList(ctx context.Context, roleName string) (accessList AccessList, err error)
GetShotAccessList(ctx context.Context, role *m.Role) (err error)
List(ctx context.Context) *AccessList
}
AccessListService ...
func NewAccessListService ¶
func NewAccessListService(adaptors *adaptors.Adaptors) AccessListService
NewAccessListService ...
Click to show internal directories.
Click to hide internal directories.