crowdsec/pkg/types/line.go
Thibault "bui" Koechlin ce6a61df1c
Refactor Acquisition Interface (#773)
* Add new acquisition interface + new modules (cloudwatch, syslog)

Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
2021-06-11 09:53:53 +02:00

12 lines
301 B
Go

package types
import "time"
type Line struct {
Raw string `yaml:"Raw,omitempty"`
Src string `yaml:"Src,omitempty"`
Time time.Time //acquis time
Labels map[string]string `yaml:"Labels,omitempty"`
Process bool
Module string `yaml:"Module,omitempty"`
}