data

package
v0.0.0-...-2828958 Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrServiceNotExit = errors.New("服务不存在")
	ErrInvalidID      = errors.New("无效ID")
)

Functions

func GetAToken

func GetAToken(ID string, c *gin.Context) (token string, err error)

GetAToken 获取 Token

func NewAdminLoginRepo

func NewAdminLoginRepo() service.AdminLoginRepo

func NewAdminRepo

func NewAdminRepo() service.AdminRepo

func NewAppRepo

func NewAppRepo() service.AppRepo

func NewDashboardRepo

func NewDashboardRepo() service.DashboardRepo

func NewServiceRepo

func NewServiceRepo() service.ServiceRepo

func SetAToken

func SetAToken(ID, token string, c *gin.Context) (err error)

SetAToken 设置 Token

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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