handler

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package handler ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheQuery

func CacheQuery(c *gin.Context)

CacheQuery ...

@Summary	缓存示例
@Tags		cache
@Param		message query		string	true	"待哈希数据"
@Param		backend	query		string	true	"缓存类型,可选值:redis、memory"
@Param		expire	query		int		false	"缓存过期时间(单位:秒)"
@Success	200		{object}	ginx.Response{data=serializer.CacheResponse}
@Router		/api/cache [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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