middleware

package
Version: v0.0.0-...-9e745d5 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminsMiddleware

func AdminsMiddleware(f http.HandlerFunc) http.HandlerFunc

AdminsMiddleware - the admins http middleware func,for check auth and set default headers for admins panel

func ChPassMiddleware

func ChPassMiddleware(f http.HandlerFunc) http.HandlerFunc

ChPassMiddleware - the admins http middleware func,for check auth and set default headers for admins panel

func Middleware

func Middleware(f http.HandlerFunc) http.HandlerFunc

Middleware - the default http middleware func,for check auth and set default headers

func MiddlewareAuth

func MiddlewareAuth(f http.HandlerFunc) http.HandlerFunc

MiddlewareAuth - middleware handle function, for check auth and set default headers

func MiddlewareFiles

func MiddlewareFiles(h http.Handler) http.HandlerFunc

MiddlewareFiles - func

Types

This section is empty.

Jump to

Keyboard shortcuts

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