Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type CountAggregator ¶
type CountAggregator struct {
// contains filtered or unexported fields
}
func (*CountAggregator) Aggregate ¶
func (ca *CountAggregator) Aggregate(ctx context.Context, input interface{}, item Whiteboard) (err error)
type DurationTrigger ¶
type DurationTrigger struct {
// contains filtered or unexported fields
}
func (*DurationTrigger) Aggregate ¶
func (trigger *DurationTrigger) Aggregate(ctx context.Context, input interface{}, item Whiteboard) (err error)
type EmptyAggregator ¶
type EmptyAggregator struct{}
func (EmptyAggregator) Aggregate ¶
func (agg EmptyAggregator) Aggregate(ctx context.Context, input interface{}, item Whiteboard) (err error)
type Whiteboard ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func New ¶
func New(ag Aggregator, wraps ...Wrapper) *Window
type Wrapper ¶
type Wrapper func(Aggregator) Aggregator
func CounterWrapper ¶
func DurationWrapper ¶
Click to show internal directories.
Click to hide internal directories.