Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Resource key name Resource = "resource" // Auth 控制是否开启AccessToken认证 Auth = "auth" // Code 控制是否开启验证码认证 Code = "code" // Permission 控制是否开启权限判定 Permission = "permission" // Allow 控制允许的角色 Allow = "allow" // 控制是否开启审计 Audit = "audit" )
View Source
const ( Enable = true Disable = false )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Meta ¶
type Meta map[string]interface{}
func (Meta) AuditEnable ¶
func (Meta) AuthEnable ¶
func (Meta) PermissionEnable ¶
Click to show internal directories.
Click to hide internal directories.