Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
HTTPClient defines an HTTP client for executing requests.
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy defines a client for an upstream Go module proxy. See: https://go.dev/ref/mod#goproxy-protocol
func New ¶
func New(client HTTPClient, upstream string) *Proxy
New creates a new Proxy for querying the supplied upstream.
Click to show internal directories.
Click to hide internal directories.