MCPcopy Create free account
hub / github.com/MetaMask/torus-node / BaseService

Struct BaseService

dkgnode/service.go:61–70  ·  view source on GitHub ↗

* Services can be started and then stopped. Users provide an implementation of ServiceCore and BaseService guarantees that OnStart and OnStop are called at most once. Starting an already started service will panic. Stopping an already stopped (or non-started) service will panic. Usage: // Implem

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected