inject

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCasbinPolicyData added in v1.1.0

func LoadCasbinPolicyData() error

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

Types

type Object

type Object struct {
	Common   *bll.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