MCPcopy
hub / github.com/syncthing/syncthing / Get

Method Get

lib/discover/global.go:47–47  ·  view source on GitHub ↗
(ctx context.Context, url string)

Source from the content-addressed store, hash-verified

45
46type httpClient interface {
47 Get(ctx context.Context, url string) (*http.Response, error)
48 Post(ctx context.Context, url, ctype string, data io.Reader) (*http.Response, error)
49}
50

Callers 15

readHeaderMethod · 0.65
writeMessageMethod · 0.65
lz4DecompressFunction · 0.65
TestStressBufferPoolFunction · 0.65
KeyFromPasswordMethod · 0.65
FileKeyMethod · 0.65
GetMethod · 0.65
clearFunction · 0.65
DialMethod · 0.65
TestRegistryFunction · 0.65

Implementers 4

idCheckingHTTPClientlib/discover/global.go
contextClientlib/discover/global.go
Processlib/rc/rc.go
apiClientcmd/syncthing/cli/client.go

Calls

no outgoing calls

Tested by 15

TestStressBufferPoolFunction · 0.52
TestRegistryFunction · 0.52
TestShortSchemeFirstFunction · 0.52
BenchmarkGetFunction · 0.52
testServeFunction · 0.52
setupROFolderFunction · 0.52
setupSendReceiveFolderFunction · 0.52
TestServiceMapFunction · 0.52
TestIssue4841Function · 0.52
expectURLToContainFunction · 0.52