middleware

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivityMonitor added in v0.4.0

func ActivityMonitor(c http.Context)

ActivityMonitor capture and log all request/response.

func MetadataHeader added in v0.4.0

func MetadataHeader(c http.Context)

MetadataHeader set metadata information come from request header to current context.

func Recover

func Recover(c http.Context)

Recover do recover when panic occurring anywhere in the stack. Also give back standardized response by utilizing stderr & stdresp pkg.

Types

This section is empty.

Jump to

Keyboard shortcuts

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