middleware

package
v0.0.0-...-f641761 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncHandler

type FuncHandler = func(next http.Handler) http.Handler

FuncHandler is a type alias for middleware function prototypes.

func GetBasicAuthConfigMiddleware

func GetBasicAuthConfigMiddleware(auth gauth.BasicAuth, realm string) FuncHandler

GetBasicAuthConfigMiddleware returns a middleware function that validates that ensures basic auth.

Jump to

Keyboard shortcuts

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