auth

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2015 License: Apache-2.0 Imports: 6 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRequired

type AuthRequired struct {
	// contains filtered or unexported fields
}

func NewAuthRequired

func NewAuthRequired(m manager.Manager, whitelistCIDRs []string) *AuthRequired

func (*AuthRequired) Handler

func (a *AuthRequired) Handler(h http.Handler) http.Handler

func (*AuthRequired) HandlerFuncWithNext

func (a *AuthRequired) HandlerFuncWithNext(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

Jump to

Keyboard shortcuts

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