Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + func RegisterProcessor(typ string, creator func(metric string, cfg []byte) (Processor, error)) + type Processor interface + Keys func() []*pb.FieldDefine + Pattern func() string + Process func(content string) (string, map[string]interface{}, map[string]string, map[string]string, error) + func NewProcessor(name, typ string, cfg []byte) (Processor, error) + type Processors struct + func New() *Processors + func (ps *Processors) Add(key string, tags map[string]string, name, typ string, config []byte) error + func (ps *Processors) Find(name, key string, tags map[string]string) []Processor