chore: 并入 iotlcm-app 历史到 app/(原提交 f40bda9)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:00 +08:00
1107 changed files with 147143 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package monitor
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-app/api/monitor/v1"
)
type IMonitorV1 interface {
RedisInfo(ctx context.Context, req *v1.RedisInfoReq) (res *v1.RedisInfoRes, err error)
}
+25
View File
@@ -0,0 +1,25 @@
// Package v1
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <li@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
package v1
import (
"github.com/gogf/gf/v2/frame/g"
)
type RedisInfoReq struct {
g.Meta `path:"/cache" method:"get" tags:"监控-缓存监控" summary:"获取缓存监控信息" x-check-permission:"cpm:monitor:cache:list"`
}
type RedisInfoRes struct {
DBSize int `json:"dbSize"`
CommandStats []*CommandStats `json:"commandStats"`
Info map[string]string `json:"info"`
}
type CommandStats struct {
Name string `json:"name"`
Value string `json:"value"`
}