Documentation ¶
Index ¶
Constants ¶
View Source
const CONTROL_LOOP_INTERVAL = 10 * time.Second
the background "even if we have not heard of an event" loop i.e. things will not wait 10 seconds - the control loop reacts to events in the system - this 10 second background loop is just for in case we miss any events
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mediator ¶
type Mediator struct {
// contains filtered or unexported fields
}
func NewMediator ¶
type MediatorController ¶
type MediatorController struct {
// contains filtered or unexported fields
}
func NewMediatorController ¶
func NewMediatorController( options MediatorOptions, web3SDK *web3.Web3SDK, executor executor.Executor, ) (*MediatorController, error)
func (*MediatorController) Start ¶
func (controller *MediatorController) Start(ctx context.Context, cm *system.CleanupManager) chan error
type MediatorOptions ¶
type MediatorOptions struct { Bacalhau bacalhau.BacalhauExecutorOptions Services data.ServiceConfig Web3 web3.Web3Options }
Click to show internal directories.
Click to hide internal directories.