funcrule

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: Apache-2.0, MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL