| 24 | } |
| 25 | |
| 26 | type 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 | |
| 35 | func (s *seqUserCacheRedis) getSeqUserMaxSeqKey(conversationID string, userID string) string { |
| 36 | return cachekey.GetSeqUserMaxSeqKey(conversationID, userID) |
nothing calls this directly
no outgoing calls
no test coverage detected