Documentation ¶
Index ¶
- type Cache
- func (c *Cache) ExpireDailyReply(ctx context.Context, mid int64, exp int) (err error)
- func (c *Cache) IncrAct(ctx context.Context, mid int64) (count int, err error)
- func (c *Cache) IncrDailyReply(ctx context.Context, mid int64) (count int, err error)
- func (c *Cache) IncrReply(ctx context.Context, mid int64, isUp bool) (count int, err error)
- func (c *Cache) SetActionRecSpam(ctx context.Context, mid int64, code, exp int) (err error)
- func (c *Cache) SetReplyDailySpam(ctx context.Context, mid int64, code, exp int) (err error)
- func (c *Cache) SetReplyRecSpam(ctx context.Context, mid int64, code, exp int) (err error)
- func (c *Cache) TTLDailyReply(ctx context.Context, mid int64) (ttl int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache Cache
func (*Cache) ExpireDailyReply ¶
ExpireDailyReply ExpireDailyReply
func (*Cache) IncrDailyReply ¶
IncrDailyReply IncrDailyReply
func (*Cache) SetActionRecSpam ¶
SetActionRecSpam SetActionRecSpam
func (*Cache) SetReplyDailySpam ¶
SetReplyDailySpam SetReplyDailySpam
func (*Cache) SetReplyRecSpam ¶
SetReplyRecSpam SetReplyRecSpam
Click to show internal directories.
Click to hide internal directories.