package
Version:
v3.7.0
Opens a new window with list of versions in this module.
Published: Nov 6, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetContextFromState(now time.Time, rate limiter.Rate, expiration time.Time, count int64) limiter.Context
GetContextFromState generate a new limiter.Context from given state.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.