middleware

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_PRINT_BODY_LEN = 2048

Variables

This section is empty.

Functions

func Cors

func Cors(ctx context.Context, c *app.RequestContext)

func LoggingMiddleware

func LoggingMiddleware(c context.Context, ctx *app.RequestContext)

func MyRecoveryHandler

func MyRecoveryHandler(c context.Context, ctx *app.RequestContext, err interface{}, stack []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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