Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultRoleSessionKey = "rbac_roles" DefaultNoPermString = "You have no permission to visit this page" )
Functions ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) SetRBACRole ¶
type Options ¶
type Options struct {
RoleSessionKey string
OnNoPerm tango.HandlerFunc
}
type RolesTager ¶
type RolesTager interface {
RolesTag() string
}
Click to show internal directories.
Click to hide internal directories.
