middleware

package
v0.0.0-...-6cf1638 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MulanPSL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Recovery

func Recovery() gin.HandlerFunc

Recovery 捕获所有panic,并且返回错误信息

func RequestInLog

func RequestInLog(c *gin.Context)

RequestInLog 请求进入日志

func RequestLog

func RequestLog() gin.HandlerFunc

func RequestOutLog

func RequestOutLog(c *gin.Context)

RequestOutLog 请求输出日志

Types

This section is empty.

Jump to

Keyboard shortcuts

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