Documentation ¶
Index ¶
Constants ¶
View Source
const AlgorithmName = "sliding_window_v2"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlidingWindow ¶
type SlidingWindow struct { Limit algorithm.Limit RDB algorithm.Rediser // contains filtered or unexported fields }
func (*SlidingWindow) SetKey ¶
func (c *SlidingWindow) SetKey(key string)
Click to show internal directories.
Click to hide internal directories.