first commit

This commit is contained in:
2024-07-23 10:23:43 +08:00
commit 7b4c2521a3
126 changed files with 15931 additions and 0 deletions

10
pkg/trace/redis.go Normal file
View File

@ -0,0 +1,10 @@
package trace
type Redis struct {
Timestamp string `json:"timestamp"` // 时间格式2006-01-02 15:04:05
Handle string `json:"handle"` // 操作SET/GET 等
Key string `json:"key"` // Key
Value string `json:"value,omitempty"` // Value
TTL float64 `json:"ttl,omitempty"` // 超时时长(单位分)
CostSeconds float64 `json:"cost_seconds"` // 执行时间(单位秒)
}