mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +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
|
|
}
|