You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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
|
|
}
|