services

package
v0.0.0-...-8d59c21 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAuthority

func AddAuthority(route, name string)

func AddBackendLog

func AddBackendLog(log *models.Log)

func GenerateRoleMap

func GenerateRoleMap() map[uint32]string

func GetAuthorities

func GetAuthorities() map[string]string

func GetRoleMap

func GetRoleMap() map[uint32]string

func GetSyncRoleMap

func GetSyncRoleMap() *sync.Map

func InitService

func InitService()

func NewAuthSession

func NewAuthSession(adminerId uint32) *models.Session

func NewKVSession

func NewKVSession(v string, sessionId string) *models.Session

func NewONData

func NewONData() *oldNewData

func QuerySession

func QuerySession(sessionId string) *models.Session

func VerifySession

func VerifySession(sessionId, v string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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