sys_consts

package
v0.5.28 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CasbinDomain = "kysion.com"
View Source
const CasbinSuperAdmin = "5302581852373061"
View Source
const CasbinSuperRole = "Super.Admin"

Variables

View Source
var (
	Global = global{
		UserDefaultType:             sys_enum.User.Type.SuperAdmin,
		UserDefaultState:            sys_enum.User.State.Normal,
		NotAllowLoginUserTypeArr:    garray.NewSortedIntArray(),
		AllowLoginUserTypeArr:       garray.NewSortedIntArray(),
		LogLevelToDatabaseArr:       garray.NewSortedIntArray(),
		ApiPreFix:                   "",
		OrmCacheConf:                []*sys_model.TableCacheConf{},
		PermissionTree:              []base_permission.IPermission{},
		CryptoPasswordFunc:          nil,
		EmailConfig:                 sys_model.EmailConfig{},
		RegisterIsNeedInviteCode:    false,
		InviteCodeExpireDay:         0,
		InviteCodeMaxActivateNumber: 0,
	}
)

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