debug

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v0.3.0

type Controller struct {
	// contains filtered or unexported fields
}

func NewDebugController added in v0.3.0

func NewDebugController() *Controller

func (*Controller) Cache added in v0.3.0

func (c *Controller) Cache(ctx *gin.Context)

Cache 缓存

func (*Controller) ChatMessage added in v0.3.0

func (c *Controller) ChatMessage(ctx *gin.Context)

func (*Controller) CreateUser added in v0.3.0

func (c *Controller) CreateUser(ctx *gin.Context)

func (*Controller) GenRandomString added in v0.3.0

func (c *Controller) GenRandomString(ctx *gin.Context)

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

func (*Controller) GormLogger added in v0.3.0

func (c *Controller) GormLogger(ctx *gin.Context)

func (*Controller) ListUser added in v0.3.0

func (c *Controller) ListUser(ctx *gin.Context)

func (*Controller) RemoteRequest added in v0.3.0

func (c *Controller) RemoteRequest(ctx *gin.Context)

func (*Controller) Retry added in v0.3.0

func (c *Controller) Retry(ctx *gin.Context)

Retry 重试

func (*Controller) Token added in v0.3.0

func (c *Controller) Token(ctx *gin.Context)

func (*Controller) User added in v0.3.0

func (c *Controller) User(ctx *gin.Context)

func (*Controller) VerifyToken added in v0.3.0

func (c *Controller) VerifyToken(ctx *gin.Context)

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