MCPcopy Create free account
hub / github.com/CPChain/chain / Start

Method Start

node/service.go:79–79  ·  view source on GitHub ↗

Start is called after all services have been constructed and the networking layer was also initialized to spawn any goroutines required by the service.

(server *p2p.Server)

Source from the content-addressed store, hash-verified

77 // Start is called after all services have been constructed and the networking
78 // layer was also initialized to spawn any goroutines required by the service.
79 Start(server *p2p.Server) error
80
81 // Stop terminates all goroutines belonging to the service, blocking until they
82 // are all terminated.

Callers 14

TestContextServicesFunction · 0.65
ExampleServiceFunction · 0.65
StartMethod · 0.65
TestNodeLifeCycleFunction · 0.65
TestNodeUsedDataDirFunction · 0.65
TestServiceRegistryFunction · 0.65
TestServiceLifeCycleFunction · 0.65
TestServiceRestartsFunction · 0.65
TestServiceRetrievalFunction · 0.65

Implementers 4

CpchainServiceprotocols/cpc/backend.go
SampleServicenode/node_example_test.go
NoopServicenode/utils_test.go
InstrumentedServicenode/utils_test.go

Calls

no outgoing calls

Tested by 13

TestContextServicesFunction · 0.52
ExampleServiceFunction · 0.52
TestNodeLifeCycleFunction · 0.52
TestNodeUsedDataDirFunction · 0.52
TestServiceRegistryFunction · 0.52
TestServiceLifeCycleFunction · 0.52
TestServiceRestartsFunction · 0.52
TestServiceRetrievalFunction · 0.52
TestProtocolGatherFunction · 0.52