basicAuth

package
v0.0.0-...-72d7525 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Handler             http.Handler
	UnauthorizedHandler http.Handler
	Realm               string
	Users               map[string]string
	AllowedCIDRs        []string
	Salt                []byte
}

func (Auth) ServeHTTP

func (h Auth) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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