# Functions
AttachToken 将Token信息附加给响应.
No description provided by the author
No description provided by the author
No description provided by the author
GetToken 获取Cookie里的Token信息.
GetUUID 获取context中携带的uuid信息,若没有则生成并写入一个uuid.
No description provided by the author
NewAuthenticator 新建一个认证器,只有Cookie中的Token和ID正确时才会放行,但是没有具体处理是否有权限.
No description provided by the author
No description provided by the author
NewQPSLimiter 生成一个QPS限制器,以IP来源为基础.
NewUUIDTagger 创建一个UUID标记器,将会往context中写入uuid.