Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Identity = func(a string) []byte { return []byte(a) }
View Source
var RuptureIdentity = func(a []byte) []byte {
return a
}
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source[T any] struct { // contains filtered or unexported fields }
func NewChanSource ¶ added in v4.39.0
func NewSliceSource ¶ added in v4.13.0
func (*Source[T]) ComputeSynchro ¶ added in v4.39.0
func (*Source[T]) CurrentKey ¶ added in v4.39.0
func (*Source[T]) IsSynchronized ¶ added in v4.39.0
func (*Source[T]) ReadRupture ¶ added in v4.39.0
type SyncSource ¶ added in v4.39.0
type Synchronization ¶
type Synchronization struct {
// contains filtered or unexported fields
}
func NewSynchronization ¶
func NewSynchronization() *Synchronization
func (*Synchronization) AddSources ¶ added in v4.13.0
func (s *Synchronization) AddSources(sources ...SyncSource) *Synchronization
Click to show internal directories.
Click to hide internal directories.