http

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 4 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 {
	Username string `mapstructure:"basic_username"`
	Password string `mapstructure:"basic_password"`
	// contains filtered or unexported fields
}

func (*BasicAuth) Handler

func (b *BasicAuth) Handler(code int, body string, next http.Handler) http.Handler

func (*BasicAuth) Init

func (b *BasicAuth) Init() bool

type BasicUsernameContextKey

type BasicUsernameContextKey struct{}

Jump to

Keyboard shortcuts

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