debug

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cache

func Cache(ctx *gin.Context)

Cache 缓存

func ChatMessage

func ChatMessage(ctx *gin.Context)

func CreateUser

func CreateUser(ctx *gin.Context)

func GenRandomString

func GenRandomString(ctx *gin.Context)

GenRandomString 生成随机字符串 @route GET /debug/random_string

func GormLogger

func GormLogger(ctx *gin.Context)

func ListUser

func ListUser(ctx *gin.Context)

func RemoteRequest

func RemoteRequest(ctx *gin.Context)

func Retry

func Retry(ctx *gin.Context)

Retry 重试

func Token

func Token(ctx *gin.Context)

func User

func User(ctx *gin.Context)

func VerifyToken

func VerifyToken(ctx *gin.Context)

Types

type Message

type Message struct {
	Event  string `json:"event"`
	Answer string `json:"answer"`
}

Jump to

Keyboard shortcuts

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