Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Component = &component.Component{ Name: "cluster.sync", Dependencies: component.Components{ sync.Component, repeater.Component, grpc.Component, }, Init: component.StepFunc(func(container container.Container) error { return container.Provide(NewSync) }), Execute: component.StepFunc(func(container container.Container) error { return container.Invoke(func(m cluster.Manager, sync *Sync) { m.OnAddPeer().Subscribe(sync.onAddPeer) m.OnDeletingPeer().Subscribe(sync.onDeletingPeer) }) }), }
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
func NewProcess ¶
func NewProcess( peer cluster.Peer, manager cluster.Manager, delayConfig *managerConfig.Delay, grpcConfig *grpcClient.Config, syncConfig *syncConfig.Config, logger logger.Logger, closer closer.Closer, ) *Process
func (*Process) RunNumbers ¶
Click to show internal directories.
Click to hide internal directories.