Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener interface {
Listen(controller.Controller)
}
Listen must block, or the Service will close
type Runner ¶
A Runner represents the underlying service Services will register either Start or Listen in their code, which acts as an entrypoint On commands issued via the listener, Command() will be called with the payload Any errors encountered should be returned, and will be passed to the connecting client
type Starter ¶
type Starter interface {
Start(controller.Controller) error
}
Starter must not block when called, and return immediately with any errors
Click to show internal directories.
Click to hide internal directories.