Documentation
¶
Index ¶
- func AddAuthority(route, name string)
- func AddBackendLog(log *models.Log)
- func GenerateRoleMap() map[uint32]string
- func GetAuthorities() map[string]string
- func GetRoleMap() map[uint32]string
- func GetSyncRoleMap() *sync.Map
- func InitService()
- func NewAuthSession(adminerId uint32) *models.Session
- func NewKVSession(v string, sessionId string) *models.Session
- func NewONData() *oldNewData
- func QuerySession(sessionId string) *models.Session
- func VerifySession(sessionId, v string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAuthority ¶
func AddAuthority(route, name string)
func AddBackendLog ¶
func GenerateRoleMap ¶
func GetAuthorities ¶
func GetRoleMap ¶
func GetSyncRoleMap ¶
func InitService ¶
func InitService()
func NewAuthSession ¶
func QuerySession ¶
func VerifySession ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.