middleware

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 11 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