package httpclient
Import Path
go.pact.im/x/httpclient (on go.dev)
Dependency Relation
imports one package, and imported by 0 packages
Involved Source Files
Package httpclient defines a mockable http.Client interface.
Package-Level Type Names (only one, which is exported)
Client is an interface describing the methods required from HTTP client.
It is satisfied by *http.Client type.
Do sends an HTTP request and returns an HTTP response.
*go.pact.im/x/httpclient/mockhttpclient.MockClient
*net/http.Client
*net/http/httputil.ClientConn
func DefaultClient() Client
Package-Level Functions (only one, which is exported)
DefaultClient returns http.DefaultClient.
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)