Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DATA embed.FS
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.