This commit is contained in:
wangchuxiao
2023-02-02 16:11:24 +08:00
parent 848e861304
commit f6cc91d7db
12 changed files with 312 additions and 223 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package cache
import (
"Open_IM/pkg/common/db/relation"
"Open_IM/pkg/common/db/table"
"Open_IM/pkg/common/tracelog"
"Open_IM/pkg/utils"
"context"
@@ -16,7 +17,7 @@ const (
)
type BlackCache struct {
blackDB *relation.Black
blackDB *table.BlackModel
expireTime time.Duration
rcClient *rockscache.Client
}