Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseSource ¶
type BaseSource struct {
// contains filtered or unexported fields
}
BaseSource ...
type Metadata ¶
type Metadata struct {
Name string
Type reflect.Type
CanHandle func(url event.SourceURL) bool
Creator Creator
ExampleURLs []string
}
Metadata ...
type Source ¶
type Source interface {
// Sigil represents the type of source in a single character.
Sigil() rune
// URL is the URL from which the events come.
URL() event.SourceURL
// Start collecting events.
Start(wg *sync.WaitGroup, running func() bool, srcChan chan Event, snkChan chan event.SinkEvent, errChan chan Error) error
}
Source of events. Responsible for ingest and conversion to the standard format.
Click to show internal directories.
Click to hide internal directories.