gin/

directory
v1.4.71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: MIT

Directories

Path Synopsis
Package frontend embeds the frontend static file and adds routing.
Package frontend embeds the frontend static file and adds routing.
Package handlerfunc is used for public http request handler.
Package handlerfunc is used for public http request handler.
Package middleware 提供 Gin 框架的 JWT 认证中间件。
Package middleware 提供 Gin 框架的 JWT 认证中间件。
metrics
Package metrics is gin metrics library, collect five metrics, "uptime_total", "http_request_count_total"(含统一 result label), "http_request_duration_seconds", "http_request_size_bytes", "http_response_size_bytes".
Package metrics is gin metrics library, collect five metrics, "uptime_total", "http_request_count_total"(含统一 result label), "http_request_duration_seconds", "http_request_size_bytes", "http_response_size_bytes".
Package prof 将 pprof 性能分析路由注册到 Gin 引擎。
Package prof 将 pprof 性能分析路由注册到 Gin 引擎。
Package response 是 gin HTTP 响应的适配层,统一收口到 pkg/errcode 全局 ResponseFormat: 响应体字段名、code/msg 内容与序列化类型均按配置文件 response 段实时生效, 与 gRPC 网关(http-pb)链路输出格式一致,不再维护独立的写死格式。
Package response 是 gin HTTP 响应的适配层,统一收口到 pkg/errcode 全局 ResponseFormat: 响应体字段名、code/msg 内容与序列化类型均按配置文件 response 段实时生效, 与 gRPC 网关(http-pb)链路输出格式一致,不再维护独立的写死格式。
Package swagger is gin swagger library.
Package swagger is gin swagger library.
Package validator is gin request parameter check library.
Package validator is gin request parameter check library.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL