mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
20 lines
430 B
Go
20 lines
430 B
Go
package cachekey
|
|
|
|
const (
|
|
MallocSeq = "MALLOC_SEQ:"
|
|
MallocSeqLock = "MALLOC_SEQ_LOCK:"
|
|
MallocMinSeqLock = "MALLOC_MIN_SEQ:"
|
|
)
|
|
|
|
func GetMallocSeqKey(conversationID string) string {
|
|
return MallocSeq + conversationID
|
|
}
|
|
|
|
func GetMallocSeqLockKey(conversationID string) string {
|
|
return MallocSeqLock + conversationID
|
|
}
|
|
|
|
func GetMallocMinSeqKey(conversationID string) string {
|
|
return MallocMinSeqLock + conversationID
|
|
}
|