game.go 187 Bytes
Newer Older
chenweijian's avatar
chenweijian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
package user_k

import (
	"fmt"
)

const (
	GameAdd  = "user:add:%s"
	GameLock = "user:lock:%s"
)

func GetGameAddKey(txGroupId string) string {
	return fmt.Sprintf(GameAdd, txGroupId)
}