# Variables
ErrDatadirUsed datadir already used by another process,datadir can only be accessed by a process.
ErrNodeRunning node already running.
ErrNodeStopped node not started.
ErrServiceUnknown unknown service.
# Structs
Config represents a small collection of configuration values to fine tune the P2P network layer of a protocol stack.
Node is a container on which services can be registered.
ServiceContext is a collection of service independent options inherited from the protocol stack, that is passed to all constructors to be optionally used; as well as utility methods to operate on the service environment.
StopError is returned if a Node fails to stop either any of its registered services or itself.
# Interfaces
Service is an individual protocol that can be registered into a node.
# Type aliases
ServiceConstructor is the function signature of the constructors needed to be registered for service instantiation.