MCPcopy
hub / github.com/syncthing/syncthing / slowDiscovery

Struct slowDiscovery

lib/discover/cache_test.go:125–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125type slowDiscovery struct {
126 delay time.Duration
127 started chan struct{}
128}
129
130func (f *slowDiscovery) Lookup(_ context.Context, _ protocol.DeviceID) (addresses []string, err error) {
131 close(f.started)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected