work

package
v0.0.0-...-1bafb4f Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DataPageSize int64 = 20
)

Functions

func AddRedisCfg

func AddRedisCfg(c *gin.Context, data protos.AddCfgReq) (interface{}, error)

func GetKey

func GetKey(c *gin.Context, req protos.SearchKeyReq) (interface{}, error)

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 HandleErrMsg(title string, err error) string

func HandleKey

func HandleKey(c *gin.Context, req protos.SearchKeyReq) (interface{}, error)

func HandleNowKey

func HandleNowKey(c *gin.Context, req protos.SearchKeyReq) (interface{}, error)

func ListRedisCfg

func ListRedisCfg(c *gin.Context) (map[string]interface{}, error)

func ScanRedis

func ScanRedis(client *trace_redis.RedisClient, match string, level int) ([]string, int)
func Search(c *gin.Context, data protos.SearchReq) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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