middlewares

package
v0.0.0-...-3c29c6b Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(next http.Handler) http.Handler

Auth checks if the correct access token was passed before resuming the request

func ContentType

func ContentType(next http.Handler) http.Handler

ContentType makes sure the content type is application/json

Types

This section is empty.

Jump to

Keyboard shortcuts

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