middleware

package
v0.0.0-...-29fea5a Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContextKeyUser  ctxKey = "user"
	ContextKeyQuery ctxKey = "query"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware func(http.Handler) http.Handler

func Audit

func Audit(cfg *gabi.Config) Middleware

func Authorization

func Authorization(cfg *gabi.Config) Middleware

func Expiration

func Expiration(cfg *gabi.Config) Middleware

func Recovery

func Recovery(cfg *gabi.Config) Middleware

func Timeout

func Timeout(timeout time.Duration) Middleware

Jump to

Keyboard shortcuts

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