middleware

package
v0.0.0-...-d95efa9 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthToken

func AuthToken(client *redis.Client) gin.HandlerFunc

func Trace

func Trace() gin.HandlerFunc

Types

type Request

type Request struct {
	Token string `json:"token"`
}

type UserInfo

type UserInfo struct {
	Mid       int64  `json:"mid"`
	XcxOpenId string `json:"xcx_openid"`
}

Jump to

Keyboard shortcuts

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