# Packages
No description provided by the author
# Functions
Cors add cors headers.
GetRequestIDFromContext returns 'RequestID' from the given context if present.
Logger 实例一个 Logger 中间件。.
LoggerWithColor 实例一个带颜色的 Logger 中间件。.
LoggerWithConfig 实例一个带有 config 的 Logger 中间件。.
NoCache 是一个中间件函数,它附加响应头以防止客户端缓存 HTTP 响应。.
Recovery 返回一个中间件,它可以从任何恐慌中恢复,如果有,则写入 500。.
No description provided by the author
RequestID 是一个中间件,它将“X-Request-ID”注入每个请求的上下文和请求/响应标头中。goland:noinspection GoUnusedExportedFunction.
Secure 是一个中间件函数,它附加了安全和资源的响应头。.
# Constants
No description provided by the author
# Variables
Store 注册中间件的商店。goland:noinspection GoUnusedGlobalVariable.