inject

package
v0.0.0-...-fa384c1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCasbinPolicyData

func LoadCasbinPolicyData() error

加载casbin策略数据,包括角色权限数据、用户角色数据

Types

type Object

type Object struct {
	Common   *service.Common
	Enforcer *casbin.Enforcer
}

Object 注入对象

var Obj *Object

Jump to

Keyboard shortcuts

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