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