basicauth

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 7 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 {
	Auth map[string]string
}

func (*BasicAuth) Authenticate

func (p *BasicAuth) Authenticate(ctx *fasthttp.RequestCtx) bool

func (*BasicAuth) Handler

func (p *BasicAuth) Handler() fasthttp.RequestHandler

func (*BasicAuth) Init

func (p *BasicAuth) Init(c *middleware.Config) (err error)

func (*BasicAuth) Process

func (*BasicAuth) UnInit

func (p *BasicAuth) UnInit()

Jump to

Keyboard shortcuts

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