MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Doer

Interface Doer

internal/httpfetch/httpfetch.go:14–16  ·  view source on GitHub ↗

Doer abstracts the HTTP client used to execute requests.

Source from the content-addressed store, hash-verified

12
13// Doer abstracts the HTTP client used to execute requests.
14type Doer interface {
15 Do(*http.Request) (*http.Response, error)
16}
17
18// GetBytes performs a GET request with the supplied headers, requires a
19// success status, and returns the response body. When maxSize is positive

Implementers 6

hostHTTPClientinternal/pluginhost/http_bridge.go
failingHTTPDoerinternal/pluginstore/install_test.go
singleResponseHTTPDoerinternal/pluginstore/install_test.go
authCheckingHTTPDoerinternal/pluginstore/install_test.go
countingPluginStoreHTTPClientinternal/api/handlers/management/plugi
compileTimePluginsdk/pluginapi/types_test.go

Calls

no outgoing calls

Tested by

no test coverage detected