Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rupture ¶
type Rupture struct {
// contains filtered or unexported fields
}
Rupture in a break/sync algorithm
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source of data in a break/sync algorithm
func NewSliceSource ¶ added in v4.13.0
func NewSliceSource(arr []interface{}, keyer func(interface{}) string, readRupture *Rupture) *Source
NewSliceSource is a source from a slice, read sequentially
type Synchronization ¶
type Synchronization struct {
// contains filtered or unexported fields
}
Synchronization in a break/sync algorithm
func NewSynchronization ¶
func NewSynchronization() *Synchronization
NewSynchronization creates and initializes Synchronization
func (*Synchronization) AddRuptures ¶ added in v4.13.0
func (s *Synchronization) AddRuptures(ruptures ...*Rupture) *Synchronization
AddRuptures adds given rupture
func (*Synchronization) AddSources ¶ added in v4.13.0
func (s *Synchronization) AddSources(sources ...*Source) *Synchronization
AddSources adds given source
Click to show internal directories.
Click to hide internal directories.