middleware

package
v0.0.0-...-b1f728d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication

func Authentication(root *handlers.Root) func(http.Handler) http.Handler

Authentication middleware builder

func Authorization

func Authorization(root *handlers.Root, role string) func(http.Handler) http.Handler

Authorization middleware

func Cors

func Cors(next http.Handler) http.Handler

Cors middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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