basic_auth

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthUserKey      = "user"
	AuthProxyUserKey = "proxy_user"
)

Variables

This section is empty.

Functions

func NewBasicAuthMiddleware

func NewBasicAuthMiddleware() fw.IMiddlewareCtl

Types

type Accounts

type Accounts map[string]string

type BasicAuthMiddleware

type BasicAuthMiddleware struct {
	*fw.MiddlewareCtl
	// contains filtered or unexported fields
}

func (*BasicAuthMiddleware) Execute

Jump to

Keyboard shortcuts

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