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

Struct NoopService

node/utils_test.go:13–13  ·  view source on GitHub ↗

NoopService is a trivial implementation of the Service interface.

Source from the content-addressed store, hash-verified

11
12// NoopService is a trivial implementation of the Service interface.
13type NoopService struct{}
14
15func (s *NoopService) Protocols() []p2p.Protocol { return nil }
16func (s *NoopService) APIs() []rpc.API { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected