完成基本的系统监控类库

This commit is contained in:
Sun
2024-01-02 22:11:34 +08:00
parent 2e0af5f147
commit c447884d77
6 changed files with 198 additions and 0 deletions
+5
View File
@@ -4,6 +4,11 @@ import (
"time"
)
const (
CACHE_DRIVE_REDIS = "redis"
CACHE_DRIVE_MEMORY = "memory"
)
// 缓存接口-支持Redis和内存使用
type Cacher[T any] interface {
// 设置