MCPcopy
hub / github.com/GopeedLab/gopeed / StatefulFetcherManager

Interface StatefulFetcherManager

internal/fetcher/fetcher.go:132–134  ·  view source on GitHub ↗

StatefulFetcherManager is an optional extension for protocols that keep shared client state outside individual task fetchers.

Source from the content-addressed store, hash-verified

130// StatefulFetcherManager is an optional extension for protocols that keep
131// shared client state outside individual task fetchers.
132type StatefulFetcherManager interface {
133 SetStateStore(store ProtocolStateStore)
134}
135
136// ProtocolStateStore persists shared protocol state for a fetcher manager.
137// Downloader provides the concrete storage backend, while the protocol decides

Callers 3

SetupMethod · 0.65
SetStateStoreMethod · 0.65
initClientMethod · 0.65

Implementers 1

FetcherManagerinternal/protocol/ed2k/fetcher.go

Calls

no outgoing calls

Tested by

no test coverage detected