Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCsvParser ¶
func NewCsvParser(config CsvParserConfig) csvParser
func NewJsonParser ¶
func NewJsonParser(config JsonParserConfig) jsonParser
func NewRawParser ¶
func NewRawParser() rawParser
Types ¶
type CsvParserConfig ¶
type CsvParserConfig struct { Delimiter string `yaml:"delimiter"` ActivityColumn uint `yaml:"activity-column"` CaseIdColumn uint `yaml:"case-id-column"` TimestampColumn uint `yaml:"timestamp-column"` TimestampFormat string `yaml:"timestamp-format"` // https://golang.org/src/time/format.go TimestampTzIanakey string `yaml:"timestamp-tz-iana-key"` // https://golang.org/src/time/format.go IgnoreWhen []struct { Column uint `yaml:"column"` Condition string `yaml:"condition"` Value string `yaml:"value"` } `yaml:"ignore-when"` }
type JsonParserConfig ¶
type JsonParserConfig struct { JsonPath string `yaml:"json-path"` // refactor that ActivityPath string `yaml:"activity-path"` CaseIdPath string `yaml:"case-id-path"` TimestampPath string `yaml:"timestamp-path"` TimestampFormat string `yaml:"timestamp-format"` // https://golang.org/src/time/format.go TimestampTzIanakey string `yaml:"timestamp-tz-iana-key"` // https://golang.org/src/time/format.go IgnoreWhen []struct { Path string `yaml:"path"` Condition string `yaml:"condition"` Value string `yaml:"value"` } `yaml:"ignore-when"` }
Click to show internal directories.
Click to hide internal directories.