g

package
v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ConfigType     = "json"            // config's type
	ConfigDir      = "config"          // config's dir
	CasbinFileName = "rbac_model.conf" // casbin rule file's name
)
View Source
const (
	StatusUnknown int = iota
	StatusTrue
	StatusFalse
)

Status 0:unknown,1:true,2:false

Variables

View Source
var (
	TestRedisPwd  = strings.TrimSpace(os.Getenv("redisProPwd"))
	TestMysqlAddr = strings.TrimSpace(os.Getenv("mysqlAddr"))
	TestMysqlPwd  = strings.TrimSpace(os.Getenv("mysqlPwd"))
	TestMongoAddr = strings.TrimSpace(os.Getenv("mongoAddr"))
	TestDbType    = strings.TrimSpace(os.Getenv("dbType"))
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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