Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelCollector ¶
type ChannelCollector struct {
// contains filtered or unexported fields
}
func (*ChannelCollector) Collect ¶
func (c *ChannelCollector) Collect(ctx context.Context, req *CollectRequest) error
type CollectRequest ¶
type CollectRequest struct { ConnectionIdentifier identification.Identifier TimeConsumed time.Time TimePushed time.Time AckFunc *pb.SendEventRequest }
type Collector ¶
type Collector interface {
Collect(ctx context.Context, req *CollectRequest) error
}
func NewChannelCollector ¶
func NewChannelCollector(c chan CollectRequest) Collector
type MockCollector ¶
func (*MockCollector) Collect ¶
func (m *MockCollector) Collect(ctx context.Context, req *CollectRequest) error
Click to show internal directories.
Click to hide internal directories.