Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon interface { Run(ctx context.Context) error Stop() error Status() DaemonStatus }
type DaemonHub ¶
type DaemonHub interface { Register(id DaemonID, daemon Daemon) error IsRegistered(id DaemonID) bool Unregister(id DaemonID) error Get(id DaemonID) (daemon Daemon, registered bool) Run(id DaemonID) error Stop(id DaemonID) error }
func NewDaemonHub ¶
type DaemonStatus ¶
Click to show internal directories.
Click to hide internal directories.