go-common/app/job/live/xroom-feed/internal/dao/rediskey.go

9 lines
172 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package dao
import "fmt"
func (d *Dao) getRecInfoKey(roomId int64) (key string, expire int){
key = fmt.Sprintf(_recInfoKey, roomId)
expire = _recInfoExpireTtl
return
}