Help us shape the future of Go! Take the 2026 Go Developer Survey

httpauth

package
v3.1.61 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 3 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, Password string
}

type BearerToken

type BearerToken struct {
	Token string
}

type ParsedAuthorizationHeader

type ParsedAuthorizationHeader struct {
	BasicAuth   *BasicAuth
	BearerToken *BearerToken
}

func ParseAuthorizationHeader

func ParseAuthorizationHeader(header string) (ret ParsedAuthorizationHeader, _ bool)

Source Files

  • httpauth.go

Jump to

Keyboard shortcuts

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