middleware

package
v0.0.0-...-614d85d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PublicPathsWatcher *watchers.PublicPathsWatcher

PublicPathsWatcher monitors changes in the public paths stored in etcd keys

Functions

func Authenticate

func Authenticate(next echo.HandlerFunc) echo.HandlerFunc

Authenticate middleware does the request authentication and signature verification. Authenticated request is then inserted some authentication headers, e.g. X-User-Id, X-User-Groups

func Authorize

func Authorize(next echo.HandlerFunc) echo.HandlerFunc

Authorize is the middleware responsible for authorization interceptor

func PopulateBucket

func PopulateBucket(next echo.HandlerFunc) echo.HandlerFunc

PopulateBucket calls Manager APIs to create/delete bucket when the request context having flag. This middleware runs BEFORE the API handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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