Documentation
¶
Index ¶
- func Decode(b []byte, v interface{}) error
- func Encode(v interface{}) ([]byte, error)
- type Emitter
- type Engine
- func (e *Engine) Emit(ev *message.Event)
- func (e *Engine) Filter(ev *message.Event)
- func (e *Engine) RegisterBuffer(opts *buffer.Options)
- func (e *Engine) RegisterFilterPlugin(conf map[string]interface{}) error
- func (e *Engine) RegisterInputPlugin(conf map[string]interface{})
- func (e *Engine) RegisterOutputPlugin(name string, conf map[string]interface{}) error
- func (e *Engine) Start()
- func (e *Engine) Stop()
- func (e *Engine) Wait()
- type ExecUnit
- type Instance
- type RingBuffer
- type TagRouter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) RegisterBuffer ¶
func (*Engine) RegisterFilterPlugin ¶
func (*Engine) RegisterInputPlugin ¶
func (*Engine) RegisterOutputPlugin ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func NewInstance ¶
func (*Instance) AddExecUnit ¶
type RingBuffer ¶
type RingBuffer struct {
// contains filtered or unexported fields
}
func NewRingBuffer ¶
func NewRingBuffer(size int) *RingBuffer
func (*RingBuffer) Clear ¶
func (w *RingBuffer) Clear()
Click to show internal directories.
Click to hide internal directories.