Documentation ¶
Index ¶
- type Options
- type Synchronizer
- type SynchronizerManager
- func (sm *SynchronizerManager) Connect(host string, options *core.Options) error
- func (sm *SynchronizerManager) Disconnect()
- func (sm *SynchronizerManager) GetEndpoint() (*core.Endpoint, error)
- func (sm *SynchronizerManager) GetPipelines(synchronizerID string) ([]uint64, error)
- func (sm *SynchronizerManager) GetSynchronizers() ([]*Synchronizer, error)
- func (sm *SynchronizerManager) Register(synchronizerID string) error
- func (sm *SynchronizerManager) ReleasePipelines(synchronizerID string, pipelines []uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
func NewOptions ¶
func NewOptions() *Options
type Synchronizer ¶
type Synchronizer struct {
ID string
}
type SynchronizerManager ¶
type SynchronizerManager struct {
// contains filtered or unexported fields
}
func NewSynchronizerManager ¶
func NewSynchronizerManager(options *Options) *SynchronizerManager
func NewSynchronizerManagerWithClient ¶
func NewSynchronizerManagerWithClient(client *core.Client, options *Options) *SynchronizerManager
func (*SynchronizerManager) Connect ¶
func (sm *SynchronizerManager) Connect(host string, options *core.Options) error
func (*SynchronizerManager) Disconnect ¶
func (sm *SynchronizerManager) Disconnect()
func (*SynchronizerManager) GetEndpoint ¶ added in v0.0.18
func (sm *SynchronizerManager) GetEndpoint() (*core.Endpoint, error)
func (*SynchronizerManager) GetPipelines ¶
func (sm *SynchronizerManager) GetPipelines(synchronizerID string) ([]uint64, error)
func (*SynchronizerManager) GetSynchronizers ¶
func (sm *SynchronizerManager) GetSynchronizers() ([]*Synchronizer, error)
func (*SynchronizerManager) Register ¶
func (sm *SynchronizerManager) Register(synchronizerID string) error
func (*SynchronizerManager) ReleasePipelines ¶
func (sm *SynchronizerManager) ReleasePipelines(synchronizerID string, pipelines []uint64) error
Click to show internal directories.
Click to hide internal directories.