Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserBehavior ¶
type UserBehaviorCache ¶
func NewUserBehaviorCache ¶
func NewUserBehaviorCache() *UserBehaviorCache
func (*UserBehaviorCache) BatchSet ¶
func (c *UserBehaviorCache) BatchSet(ub UserBehavior)
BatchSet batch set user behavior sequence
func (*UserBehaviorCache) Clear ¶
func (c *UserBehaviorCache) Clear()
Clear all user behavior sequence
func (*UserBehaviorCache) Delete ¶
func (c *UserBehaviorCache) Delete(userId int64)
Delete user behavior sequence by userId
func (*UserBehaviorCache) Get ¶
Get user behavior sequence by userId and filtered by maxTs and count
func (*UserBehaviorCache) Set ¶
func (c *UserBehaviorCache) Set(userId int64, seq *TimeSeq)
Set user behavior sequence by userId
Click to show internal directories.
Click to hide internal directories.