middleware

package
v0.0.0-...-b32f419 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLog

func AccessLog() gin.HandlerFunc

func AppInfo

func AppInfo() gin.HandlerFunc

func ContextTimeout

func ContextTimeout(t time.Duration) func(c *gin.Context)

func Recovery

func Recovery() gin.HandlerFunc

func Tracing

func Tracing() func(c *gin.Context)

Types

type AccessLogWriter

type AccessLogWriter struct {
	gin.ResponseWriter
	// contains filtered or unexported fields
}

func (AccessLogWriter) Write

func (w AccessLogWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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