httputil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 2 Imported by: 2

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