package
Version:
v0.2.0-alpha.6
Opens a new window with list of versions in this module.
Published: Dec 26, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cors 是一个 Gin 中间件,用来设置 options 请求的返回头,然后退出中间件链,并结束请求(浏览器跨域设置).
NoCache 是一个 Gin 中间件,用来禁止客户端缓存 HTTP 请求的返回结果.
Secure 是一个 Gin 中间件,用来添加一些安全和资源访问相关的 HTTP 头.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.