# Functions
Align returns a func to customize a PeriodLimit with alignment.
BasicAuth 权限校验 authFunc鉴权函数,返回值:是否有权限.
No description provided by the author
No description provided by the author
NiceLoggerFormatter 更好的日志中间件.
No description provided by the author
No description provided by the author
PeriodLimit 分布式限流中间件.
PeriodLimit 本地限流中间件.
No description provided by the author
Session session中间件,详见https://github.com/gin-contrib/sessions.
# Constants
Allowed means allowed state.
HitQuota means this request exactly hit the quota.
OverQuota means passed the quota.
to be compatible with aliyun redis, we cannot use `local key = KEYS[1]` to reuse the key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Unknown means not initialized state.
# Variables
ErrUnknownCode is an error that represents unknown status code.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
OauthAccessToken token model.
OauthClientDetails client model.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author