MCPcopy
hub / github.com/syncthing/syncthing / ClusterConfig

Method ClusterConfig

lib/protocol/protocol.go:90–90  ·  view source on GitHub ↗

A cluster configuration message was received

(conn Connection, config *ClusterConfig)

Source from the content-addressed store, hash-verified

88 Request(conn Connection, req *Request) (RequestResponse, error)
89 // A cluster configuration message was received
90 ClusterConfig(conn Connection, config *ClusterConfig) error
91 // The peer device closed the connection or an error occurred
92 Closed(conn Connection, err error)
93 // The peer device sent progress updates for the files it is currently downloading

Callers 15

TestPingFunction · 0.65
TestCloseFunction · 0.65
TestCloseOnBlockingSendFunction · 0.65
TestCloseRaceFunction · 0.65
TestClusterConfigFirstFunction · 0.65
dispatcherLoopMethod · 0.65
ClusterConfigMethod · 0.65
ClusterConfigMethod · 0.65
ClusterConfigMethod · 0.65
sendClusterConfigMethod · 0.65
promoteConnectionsMethod · 0.65

Implementers 2

modellib/model/model.go
Modellib/model/mocks/model.go

Calls

no outgoing calls

Tested by 15

TestPingFunction · 0.52
TestCloseFunction · 0.52
TestCloseOnBlockingSendFunction · 0.52
TestCloseRaceFunction · 0.52
TestClusterConfigFirstFunction · 0.52
TestIntroducerFunction · 0.52
TestIssue5063Function · 0.52
TestAutoAcceptRejectedFunction · 0.52
TestAutoAcceptNewFolderFunction · 0.52