Documentation
¶
Index ¶
- Variables
- func AddRedisCfg(c *gin.Context, data protos.AddCfgReq) (interface{}, error)
- func GetKey(c *gin.Context, req protos.SearchKeyReq) (interface{}, error)
- func GetKeyByType(c *gin.Context, req protos.SearchKeyReq, typeInfo, keys string, ...) protos.KeysInfo
- func GetNoneKey(c *gin.Context, req protos.SearchKeyReq, keys string, ...) (interface{}, error)
- func HandleByType(c *gin.Context, req protos.SearchKeyReq, client *trace_redis.RedisClient) (interface{}, error)
- func HandleErrMsg(title string, err error) string
- func HandleKey(c *gin.Context, req protos.SearchKeyReq) (interface{}, error)
- func HandleNowKey(c *gin.Context, req protos.SearchKeyReq) (interface{}, error)
- func ListRedisCfg(c *gin.Context) (map[string]interface{}, error)
- func ScanRedis(client *trace_redis.RedisClient, match string, level int) ([]string, int)
- func Search(c *gin.Context, data protos.SearchReq) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DataPageSize int64 = 20
)
Functions ¶
func GetKeyByType ¶
func GetKeyByType(c *gin.Context, req protos.SearchKeyReq, typeInfo, keys string, client *trace_redis.RedisClient) protos.KeysInfo
func GetNoneKey ¶
func GetNoneKey(c *gin.Context, req protos.SearchKeyReq, keys string, client *trace_redis.RedisClient) (interface{}, error)
func HandleByType ¶
func HandleByType(c *gin.Context, req protos.SearchKeyReq, client *trace_redis.RedisClient) (interface{}, error)
func HandleErrMsg ¶
func HandleNowKey ¶
func HandleNowKey(c *gin.Context, req protos.SearchKeyReq) (interface{}, error)
func ScanRedis ¶
func ScanRedis(client *trace_redis.RedisClient, match string, level int) ([]string, int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.