middleware

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLog

func AccessLog() gin.HandlerFunc

access日志打印

func AddNotice

func AddNotice(k string, v interface{}) gin.HandlerFunc

access 添加kv打印

func LoggerAfterRun

func LoggerAfterRun(ctx *gin.Context)

func LoggerBeforeRun

func LoggerBeforeRun(ctx *gin.Context)

func Metadata

func Metadata() gin.HandlerFunc

func UseMetadata

func UseMetadata(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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