mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
15 lines
303 B
Go
15 lines
303 B
Go
package cachekey
|
|
|
|
const (
|
|
userInfoKey = "USER_INFO:"
|
|
userGlobalRecvMsgOptKey = "USER_GLOBAL_RECV_MSG_OPT_KEY:"
|
|
)
|
|
|
|
func GetUserInfoKey(userID string) string {
|
|
return userInfoKey + userID
|
|
}
|
|
|
|
func GetUserGlobalRecvMsgOptKey(userID string) string {
|
|
return userGlobalRecvMsgOptKey + userID
|
|
}
|