common

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Common = &CommonController{}

Functions

This section is empty.

Types

type CommonController

type CommonController struct {
	*base.Controller
}

func (*CommonController) Ping

func (c *CommonController) Ping(ctx *gin.Context)

Ping 心跳

func (*CommonController) Routes

func (c *CommonController) Routes(ctx *gin.Context)

Routes 获取所有路由

type TokenController

type TokenController struct {
	base.Controller
}

func (*TokenController) Create

func (c *TokenController) Create(ctx *gin.Context)

Create 生成token

func (*TokenController) View

func (c *TokenController) View(ctx *gin.Context)

View token解析

Jump to

Keyboard shortcuts

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