Documentation
¶
Overview ¶
Package tool @program: gin-template @author: [lliuhuan](https://github.com/lliuhuan) @create: 2024-07-23 16:48
Package tool @program: gin-template @author: [lliuhuan](https://github.com/lliuhuan) @create: 2024-07-05 17:22
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
// HashIdsEncode HashIds 加密
// @Tags API.tool
// @Router /api/v1/tool/hashids/encode/{id} [get]
HashIdsEncode() core.HandlerFunc
// HashIdsDecode HashIds 解密
// @Tags API.tool
// @Router /api/v1/tool/hashids/decode/{id} [get]
HashIdsDecode() core.HandlerFunc
// SearchCache 查询缓存
// @Tags API.tool
// @Router /api/v1/tool/cache/search [post]
SearchCache() core.HandlerFunc
// ClearCache 清空缓存
// @Tags API.tool
// @Router /api/v1/tool/cache/clear [patch]
ClearCache() core.HandlerFunc
// Dbs 查询 DB
// @Tags API.tool
// @Router /api/v1/tool/data/dbs [get]
Dbs() core.HandlerFunc
// Tables 查询 Table
// @Tags API.tool
// @Router /api/v1/tool/data/tables [post]
Tables() core.HandlerFunc
// SearchMySQL 执行 SQL 语句
// @Tags API.tool
// @Router /api/v1/tool/data/mysql [post]
SearchMySQL() core.HandlerFunc
// ProjectInfo 项目基础信息
// @Tags API.tool
// @Router /api/v1/tool/project/info [get]
ProjectInfo() core.HandlerFunc
// Logs 查询日志
// @Tags API.tool
// @Router /api/v1/tool/logs [get]
Logs() core.HandlerFunc
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.