MCPcopy Create free account
hub / github.com/cli/cli / httpClient

Interface httpClient

pkg/cmd/attestation/api/client.go:62–64  ·  view source on GitHub ↗

httpClient makes HTTP calls to all non-GitHub API endpoints

Source from the content-addressed store, hash-verified

60
61// httpClient makes HTTP calls to all non-GitHub API endpoints
62type httpClient interface {
63 Get(url string) (*http.Response, error)
64}
65
66type Client interface {
67 GetByDigest(params FetchParams) ([]*Attestation, error)

Calls

no outgoing calls

Tested by

no test coverage detected