Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permission ¶
func (*Permission) DeletePermission ¶
func (p *Permission) DeletePermission(ctx context.Context) error
func (*Permission) SavePermission ¶
func (p *Permission) SavePermission(ctx context.Context) error
type RolePermission ¶
type RolePermission struct { ID int64 Role *role.Role Permission *Permission }
func (*RolePermission) DeletePermission ¶
func (rp *RolePermission) DeletePermission(ctx context.Context) error
func (*RolePermission) SavePermission ¶
func (rp *RolePermission) SavePermission(ctx context.Context) error
type UserPermission ¶
type UserPermission struct { ID int64 User *user.User Permission *Permission }
func (*UserPermission) DeletePermission ¶
func (up *UserPermission) DeletePermission(ctx context.Context) error
func (*UserPermission) SavePermission ¶
func (up *UserPermission) SavePermission(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.