Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextFromState ¶
func GetContextFromState(now time.Time, rate limiter.Rate, expiration time.Time, count int64) limiter.Context
GetContextFromState generate a new limiter.Context from given state.
func TestStoreConcurrentAccess ¶
TestStoreConcurrentAccess verify that store works as expected with a concurrent access.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.