Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllPermissions = []auth.Permission{"read", "write", "sign", "admin"}
Functions ¶
func PermissionProxy ¶
func PermissionProxy(in interface{}, out interface{})
permissionVerify the scheduler between API and internal business
Types ¶
type MethodName ¶
type MethodName = string
type Rule ¶
type Rule struct { Perm auth.Permission Ignore bool }
Rule [perm:admin,ignore:true] Used by Client to generate rule comments
Click to show internal directories.
Click to hide internal directories.