package
Version:
v0.0.0-...-7b0e155
Opens a new window with list of versions in this module.
Published: Jan 5, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WithLimiter 限流中间件
limiter golang.org/x/time/rate 下的令牌桶限流器
timeout 获取令牌的超时时间,超时即视为获取失败,本次请求不做处理
Source Files
¶
Click to show internal directories.
Click to hide internal directories.