middleware

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessTokenAuth

func AccessTokenAuth(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func AccessTokenAuthMiddleware

func AccessTokenAuthMiddleware(handlerWrapper HandlerWrapper, handlers ...func(http.ResponseWriter, *http.Request) *perror.PlutoError) http.Handler

func NoAuthMiddleware

func NoAuthMiddleware(handlerWrapper HandlerWrapper, handlers ...func(http.ResponseWriter, *http.Request) *perror.PlutoError) http.Handler

func PlutoAdmin

func PlutoAdmin(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func PlutoAdminAuthMiddleware

func PlutoAdminAuthMiddleware(handlerWrapper HandlerWrapper, handlers ...func(http.ResponseWriter, *http.Request) *perror.PlutoError) http.Handler

func PlutoUserAuthMiddleware

func PlutoUserAuthMiddleware(handlerWrapper HandlerWrapper, handlers ...func(http.ResponseWriter, *http.Request) *perror.PlutoError) http.Handler

Types

Jump to

Keyboard shortcuts

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