auth

package
v0.0.0-...-514a694 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth

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

func NewBasicAuth

func NewBasicAuth(username, password string) *BasicAuth

func (*BasicAuth) CheckCredentials

func (a *BasicAuth) CheckCredentials(username, password string) bool

func (*BasicAuth) MustAuth

func (a *BasicAuth) MustAuth(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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