Documentation
¶
Overview ¶
Package source is the interface for sources
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrWatcherStopped is returned when source watcher has been stopped ErrWatcherStopped = errors.New("watcher stopped") )
Functions ¶
This section is empty.
Types ¶
type ChangeSet ¶
type ChangeSet struct {
Data []byte
Checksum string
Format string
Source string
Timestamp time.Time
}
ChangeSet represents a set of changes from a source
type Options ¶
type Options struct {
// Encoder
Encoder encoder.Encoder
// for alternative data
Context context.Context
}
func NewOptions ¶
Click to show internal directories.
Click to hide internal directories.