Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Basic orders from the main service to the modules OrderStartUp = "OrderStartUp" OrderError = "OrderError" OrderInformation = "OrderInformation" OrderChange = "OrderChange" OrderShutdown = "OrderShutdown" OrderRender = "OrderRender" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderChangePayload ¶ added in v0.4.0
type OrderErrorPayload ¶ added in v0.4.0
type OrderErrorPayload struct {
Message string // error message to report to the module, e.g. when a module is not responding or has an unexpected response
}
type OrderInformationPayload ¶ added in v0.4.0
type OrderInformationPayload struct {
Payload any
}
type OrderRenderPayload ¶
type OrderShutdownPayload ¶ added in v0.4.1
type OrderShutdownPayload struct {
Reason string // reason for shutdown, e.g. when the main service is shutting down, Publish to main
}
type OrderStartUpPayload ¶
Click to show internal directories.
Click to hide internal directories.