auth

package
v7.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential added in v7.3.0

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

type Wrapper

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

func NewWrapper

func NewWrapper(username, password string) *Wrapper

func NewWrapperMultiple added in v7.3.0

func NewWrapperMultiple(users map[string]string) *Wrapper

func (*Wrapper) Wrap

func (wrapper *Wrapper) Wrap(handler http.Handler) http.Handler

func (*Wrapper) WrapFunc

func (wrapper *Wrapper) WrapFunc(handlerFunc http.HandlerFunc) http.HandlerFunc

Jump to

Keyboard shortcuts

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