middlewares

package
v0.0.0-...-a9450b3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLog

func AccessLog() gin.HandlerFunc

记录访问日志

func Authorization

func Authorization() gin.HandlerFunc

鉴权中间件

func ParseBody

func ParseBody() gin.HandlerFunc

解析请求体(JSON)

func Recovery

func Recovery() gin.HandlerFunc

错误处理和恢复

func RequestId

func RequestId() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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