package
0.0.0-20241024171620-be63470a3411
Repository: https://github.com/ireoo/sixin-server.git
Documentation: pkg.go.dev
# Functions
JWT 中间件.
CORS 处理跨域请求.
提取并验证 Authorization 头中的 JWT.
生成 JWT.
从上下文中获取用户 ID.
Logger 日志中间件.
No description provided by the author
验证 JWT.
验证 token 并返回用户 ID.
# Constants
No description provided by the author