msg database

This commit is contained in:
withchao
2023-02-23 18:17:17 +08:00
parent 2359d7ab37
commit 2af2716c2c
17 changed files with 588 additions and 241 deletions
+2 -2
View File
@@ -37,12 +37,12 @@ const (
)
type Client struct {
cache cache.Cache
cache cache.MsgCache
tokenExpireTime int64
taskIDTTL int64
}
func NewClient(cache cache.Cache) *Client {
func NewClient(cache cache.MsgCache) *Client {
return &Client{cache: cache, tokenExpireTime: tokenExpireTime, taskIDTTL: taskIDTTL}
}