Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollectors ¶
Types ¶
type Accumulator ¶
func NewAccumulator ¶
func NewAccumulator() *Accumulator
func (*Accumulator) Get ¶
func (a *Accumulator) Get(key interface{}) (interface{}, bool)
func (*Accumulator) Len ¶
func (a *Accumulator) Len() int
func (*Accumulator) Put ¶
func (a *Accumulator) Put(key, value interface{})
type Batch ¶
type Batch struct { ID string *tconfig.Stream Accumulator *Accumulator Started time.Time Count int32 PendingURL string sync.Mutex // contains filtered or unexported fields }
type Collector ¶
type Collector interface {
Collect(record interface{}) error
}
Collector represents a collector
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func NewOptions ¶
func (*Options) GetInstanceId ¶
func (*Options) GetStreamURLSymLinkTrg ¶
type Service ¶
func (*Service) FlushInBackground ¶
func (*Service) NotifyWatcher ¶
func (s *Service) NotifyWatcher()
Click to show internal directories.
Click to hide internal directories.