middleware

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicHttpAuth

func BasicHttpAuth(next http.Handler) http.Handler

func DeleteMethodOnly added in v0.1.1

func DeleteMethodOnly(next http.Handler) http.Handler

func GetMethodOnly

func GetMethodOnly(next http.Handler) http.Handler

func Gzip

func Gzip(next http.Handler) http.Handler

func PostMethodOnly added in v0.1.2

func PostMethodOnly(next http.Handler) http.Handler

func PutMethodOnly added in v0.1.1

func PutMethodOnly(next http.Handler) http.Handler

func SetPassword

func SetPassword(pwd [32]byte)

func SetUsername

func SetUsername(usr [32]byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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