middleware

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(next http.Handler, basicAuthUsers map[string]string) http.Handler

Authenticate middleware handles checking credentials

func LoadEvent

func LoadEvent(next http.Handler, enableTracing bool) http.Handler

LoadEvent middleware loads event from the request

func Validate

func Validate(next http.Handler) http.Handler

Validate middleware handles checking received events for validity

Types

This section is empty.

Jump to

Keyboard shortcuts

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