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 is gin middleware plugin.
|
Package middleware is gin middleware plugin. |
metrics
Package metrics is gin metrics library, collect five metrics, "uptime", "http_request_count_total", "http_request_duration_seconds", "http_request_size_bytes", "http_response_size_bytes".
|
Package metrics is gin metrics library, collect five metrics, "uptime", "http_request_count_total", "http_request_duration_seconds", "http_request_size_bytes", "http_response_size_bytes". |
Package prof is used for gin profiling.
|
Package prof is used for gin profiling. |
Package response provides wrapper gin returns json data in the same format.
|
Package response provides wrapper gin returns json data in the same format. |
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. |
Click to show internal directories.
Click to hide internal directories.