Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Any ¶
type Any struct { NoTick // contains filtered or unexported fields }
Any is an Processor that feeds every message to Action.
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func NewMatcher ¶
func NewMatcher(params MatcherParams) *Matcher
func (*Matcher) ProcessMessage ¶
ProcessMessage implements Processor.
type MatcherParams ¶
type MatcherParams struct { StartLine types.Matcher // Start is required. EndLine types.Matcher // End is optional for multiline matching. IncludeEnd bool MaxLines int // MaxLines is max nmber of lines lines to match. Action types.Action // Action to perform upon a match is found. GroupBy []string // Fields to group by. }
type Serial ¶
Serial implements Processor by procesing the messages in sequence until the end, or until an error is reached.
func (Serial) ProcessMessage ¶
ProcessMessage implements Processor.
Click to show internal directories.
Click to hide internal directories.