middleware

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MPL-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth added in v0.1.20

func Auth(next http.Handler) http.Handler

Auth verifies the token provided is valid, and sets the client id in context

func CommonResponseHeaders

func CommonResponseHeaders(next http.Handler) http.Handler

CommonResponseHeaders is a middleware to apply common response headers.

func DisabledChain added in v0.1.20

func DisabledChain(next http.Handler) http.Handler

DisabledChain is a middleware to check for disabled sync chains referenced in a request, ending the request early in the case that the request is made against one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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