Documentation ¶ Index ¶ func IsHTTPAuthed(req *http.Request, correctPassword string) bool func RequireHTTPAuth(w http.ResponseWriter, req *http.Request, correctPassword string) bool func RequireHTTPAuthHandler(correctPassword string, h http.Handler) http.Handler 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. Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.