MCPcopy
hub / github.com/openimsdk/open-im-server / seqUserCacheRedis

Struct seqUserCacheRedis

pkg/common/storage/cache/redis/seq_user.go:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26type seqUserCacheRedis struct {
27 rdb redis.UniversalClient
28 mgo database.SeqUser
29 rocks *rockscache.Client
30 expireTime time.Duration
31 readExpireTime time.Duration
32 readSeqWriteRatio int64
33}
34
35func (s *seqUserCacheRedis) getSeqUserMaxSeqKey(conversationID string, userID string) string {
36 return cachekey.GetSeqUserMaxSeqKey(conversationID, userID)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected