com

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuthTransport added in v0.3.0

type BasicAuthTransport struct {
	http.RoundTripper
	Username string
	Password string
	Insecure bool
}

BasicAuthTransport is a http.RoundTripper that authenticates all requests using HTTP Basic Authentication.

func (*BasicAuthTransport) RoundTrip added in v0.3.0

func (t *BasicAuthTransport) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip executes a single HTTP transaction with the basic auth credentials.

Jump to

Keyboard shortcuts

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