middleware

package
v0.0.0-...-6b47566 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware struct {
}

UpdateAuthContext defines interface adding extras or modifying UserInfo in request context

func (*Middleware) Update

func (a *Middleware) Update() func(http.Handler) http.Handler

Update user info in request context from go-pkgz/auth token.User to mouthpiece.User

Jump to

Keyboard shortcuts

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