httputil

package
v0.0.0-...-0fe4739 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHTTPAuthed

func IsHTTPAuthed(req *http.Request, correctPassword string) bool

func RequireHTTPAuth

func RequireHTTPAuth(w http.ResponseWriter, req *http.Request, correctPassword string) bool

func RequireHTTPAuthHandler

func RequireHTTPAuthHandler(correctPassword string, h http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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