refactor: redis操作界面重构

This commit is contained in:
meilin.huang
2023-08-28 17:25:59 +08:00
parent 245406673c
commit 1e5b1868ab
18 changed files with 673 additions and 332 deletions

View File

@@ -22,12 +22,12 @@ type Redis struct {
type Keys struct {
Cursor map[string]uint64 `json:"cursor"`
Keys []*KeyInfo `json:"keys"`
Keys []string `json:"keys"`
DbSize int64 `json:"dbSize"`
}
type KeyInfo struct {
Key string `json:"key"`
Ttl int64 `json:"ttl"`
Ttl int `json:"ttl"`
Type string `json:"type"`
}