package
1.0.1
Repository: https://github.com/yituoshiniao/gin-api-http.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CORS 跨域中间件.
GetLoggerID 获取 TraceID.
No description provided by the author
HTTPLog 打印request response信息.
IPWhiteListMiddleware 是一个中间件函数,用于实现IP白名单功能 //[]string{"127.0.0.1", "::1"} 运行本地.
Metrics 请求接口埋点.
OpenTracing 分布式链路追踪.
Recover ...
Stack returns a nicely formatted stack frame, skipping skip frames.

# Constants

DefaultErrMsg ...
HeaderGrayVersion header.
HeaderJSON json.

# Structs

CustomResponseWriter ...