middleware

package
v0.0.0-...-40b4526 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CtxValues

func CtxValues() gin.HandlerFunc

CtxValues is a gin compatible middleware function responsible for extending HTTP request context with web related context values like TraceID or time when request has started.

func Errors

func Errors() gin.HandlerFunc

Errors is a gin compatible middleware function responsible for handling unexpected errors coming out of the call chain.

func Logger

func Logger(log *zap.SugaredLogger) gin.HandlerFunc

Logger is a gin compatible middleware function responsible for handling HTTP logs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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