Versions in this module Expand all Collapse all v0 v0.4.17 Feb 21, 2023 v0.4.16 Sep 16, 2022 v0.4.15 Jul 25, 2022 v0.4.14 Jul 25, 2022 v0.4.13 May 5, 2021 Changes in this version + type AnonymousAreas struct + Data []byte + Rest []byte + func (p *AnonymousAreas) Extract(line []byte) (bool, error) + type BeforeLookup struct + Data string + Rest string + func (p *BeforeLookup) Extract(line string) (bool, error) + type Boolean struct + Check bool + Rest string + func (p *Boolean) Extract(line string) (bool, error) + type CheckPrefix struct + Data string + Rest string + func (p *CheckPrefix) Extract(line string) (bool, error) + type Custom struct + Addr struct{ ... } + Rest string + Time time.Time + func (p *Custom) Extract(line string) (bool, error) + func (p *Custom) GetAddrIP() (res ip.IP) + type CustomBuiltin struct + Field int + Rest string + func (p *CustomBuiltin) Extract(line string) (bool, error) + type CustomStr struct + Data string + Rest []byte + func (p *CustomStr) Extract(line []byte) (bool, error) + type Dec struct + F1 int32 + F2 int64 + F3 struct{ ... } + Rest []byte + func (p *Dec) Extract(line []byte) (bool, error) + type DecoderBranching struct + Head struct{ ... } + Rest []byte + func (p *DecoderBranching) Extract(line []byte) (bool, error) + func (p *DecoderBranching) GetHeadData() (res []byte) + type DecoderBranchingStress struct + Head struct{ ... } + Rest []byte + func (p *DecoderBranchingStress) Extract(line []byte) (bool, error) + func (p *DecoderBranchingStress) GetHeadData() (res []byte) + type DecoderOptionals struct + Head struct{ ... } + Int8 int8 + Rest []byte + func (p *DecoderOptionals) Extract(line []byte) (bool, error) + func (p *DecoderOptionals) GetHeadData() (res []byte) + type DecoderOptionalsStress struct + Head struct{ ... } + Int8 int8 + Rest []byte + func (p *DecoderOptionalsStress) Extract(line []byte) (bool, error) + func (p *DecoderOptionalsStress) GetHeadData() (res []byte) + type Decoders struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *Decoders) Extract(line []byte) (bool, error) + type DecodersBounded struct + Int64 int64 + Rest []byte + func (p *DecodersBounded) Extract(line []byte) (bool, error) + type DecodersBoundedStress struct + Int64 int64 + Rest []byte + func (p *DecodersBoundedStress) Extract(line []byte) (bool, error) + type DecodersBoundedString struct + Float64 float64 + Rest []byte + func (p *DecodersBoundedString) Extract(line []byte) (bool, error) + type DecodersBoundedStringStress struct + Float64 float64 + Rest []byte + func (p *DecodersBoundedStringStress) Extract(line []byte) (bool, error) + type DecodersLimited struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *DecodersLimited) Extract(line []byte) (bool, error) + type DecodersLimitedStress struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *DecodersLimitedStress) Extract(line []byte) (bool, error) + type DecodersLimitedString struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *DecodersLimitedString) Extract(line []byte) (bool, error) + type DecodersLimitedStringStress struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *DecodersLimitedStringStress) Extract(line []byte) (bool, error) + type DecodersStress struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *DecodersStress) Extract(line []byte) (bool, error) + type DecodersString struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *DecodersString) Extract(line []byte) (bool, error) + type DecodersStringStress struct + Float32 float32 + Float64 float64 + Int16 int16 + Int32 int32 + Int64 int64 + Int8 int8 + Rest []byte + String []byte + Uint16 uint16 + Uint32 uint32 + Uint64 uint64 + Uint8 uint8 + func (p *DecodersStringStress) Extract(line []byte) (bool, error) + type DoubleOpts struct + Head struct{ ... } + Rest []byte + Rest1 struct{ ... } + func (p *DoubleOpts) Extract(line []byte) (bool, error) + func (p *DoubleOpts) GetHeadData() (res []byte) + func (p *DoubleOpts) GetRest1Data() (res []byte) + type FixedLook struct + Data int32 + Rest []byte + Rest1 int32 + func (p *FixedLook) Extract(line []byte) (bool, error) + type FooBarBaz struct + Bar struct{ ... } + Baz string + Rest string + Stuff string + func (p *FooBarBaz) Extract(line string) (bool, error) + func (p *FooBarBaz) GetBarIDFoobarbaz() (res string) + type Hex struct + F1 uint + F2 uint8 + F3 uint16 + F4 uint32 + F5 uint64 + Rest []byte + func (p *Hex) Extract(line []byte) (bool, error) + type IncludeChar struct + Data []byte + Field2 int + Rest []byte + func (p *IncludeChar) Extract(line []byte) (bool, error) + type IncludeString struct + Data []byte + Field2 int + Rest []byte + func (p *IncludeString) Extract(line []byte) (bool, error) + type Jump struct + First []byte + Fourth []byte + Rest []byte + Second []byte + Third []byte + func (p *Jump) Extract(line []byte) (bool, error) + type JustToCompile struct + Head uint16 + Rest []byte + Tail uint16 + func (p *JustToCompile) Extract(line []byte) (bool, error) + type JustToCompileString struct + Head uint16 + Rest []byte + Tail uint16 + func (p *JustToCompileString) Extract(line []byte) (bool, error) + type LookupJump struct + Rest []byte + func (p *LookupJump) Extract(line []byte) (bool, error) + type Oct struct + F1 uint + F2 uint8 + F3 uint16 + F4 uint32 + F5 uint64 + Rest []byte + func (p *Oct) Extract(line []byte) (bool, error) + type PassHeadingStringRegression struct + Data string + Rest string + func (p *PassHeadingStringRegression) Extract(line string) (bool, error) + type Prefixes struct + Data int32 + Rest []byte + Rest1 int32 + func (p *Prefixes) Extract(line []byte) (bool, error) + type Regression1 struct + Comm string + Pid int32 + Ppid int32 + Rest string + State uint8 + func (p *Regression1) Extract(line string) (bool, error) + type RegressionCheck1 struct + IState struct{ ... } + PState struct{ ... } + Pump int8 + Rest string + Time string + func (p *RegressionCheck1) Extract(line string) (bool, error) + func (p *RegressionCheck1) GetIStateState() (res string) + func (p *RegressionCheck1) GetPStateState() (res string) + type RegressionCheck2 struct + Rest string + Time string + func (p *RegressionCheck2) Extract(line string) (bool, error) + type RegressionCheck3 struct + Rest string + func (p *RegressionCheck3) Extract(line string) (bool, error) + type RestLength struct + Rest []byte + func (p *RestLength) Extract(line []byte) (bool, error) + type Rule struct + Data string + Rest string + Signed int + Str string + Unsigned uint + func (p *Rule) Extract(line string) (bool, error) + type Shift1 struct + B []byte + Rest []byte + func (p *Shift1) Extract(line []byte) (bool, error) + type Shift2 struct + B []byte + Rest []byte + func (p *Shift2) Extract(line []byte) (bool, error) + type Shift3 struct + B []byte + Rest []byte + func (p *Shift3) Extract(line []byte) (bool, error) + type Shift4 struct + B []byte + Rest []byte + func (p *Shift4) Extract(line []byte) (bool, error) + type ShouldBeImportWithCustomType struct + First time.Time + Rest string + Second time.Time + func (p *ShouldBeImportWithCustomType) Extract(line string) (bool, error) + type SilentAreas struct + Alt1 struct{ ... } + Alt2 struct{ ... } + Rest string + func (p *SilentAreas) Extract(line string) (bool, error) + func (p *SilentAreas) GetAlt1Amount() (res int) + func (p *SilentAreas) GetAlt2Amount() (res string) + type Split struct + Count []byte + Name []byte + Rest []byte + func (p *Split) Extract(line []byte) (bool, error) + type SplitString struct + Count []byte + Name []byte + Rest []byte + func (p *SplitString) Extract(line []byte) (bool, error) + type Star struct + B int + F int + Rest []byte + func (p *Star) Extract(line []byte) (bool, error) + type Str struct + F1 string + F2 []byte + Rest []byte + func (p *Str) Extract(line []byte) (bool, error) + type TargetConstraintsCheck struct + Rest []byte + func (p *TargetConstraintsCheck) Extract(line []byte) (bool, error) + type TrickyDateParsing struct + Full struct{ ... } + Hour struct{ ... } + Rest string + Seconds struct{ ... } + func (p *TrickyDateParsing) Extract(line string) (bool, error) + func (p *TrickyDateParsing) GetFullDay() (res int) + func (p *TrickyDateParsing) GetFullHour() (res int) + func (p *TrickyDateParsing) GetFullMicrosecs() (res int) + func (p *TrickyDateParsing) GetFullMinute() (res int) + func (p *TrickyDateParsing) GetFullMonth() (res int) + func (p *TrickyDateParsing) GetFullSecond() (res int) + func (p *TrickyDateParsing) GetFullYear() (res int) + func (p *TrickyDateParsing) GetHourHour() (res int) + func (p *TrickyDateParsing) GetHourMicrosecs() (res int) + func (p *TrickyDateParsing) GetHourMinute() (res int) + func (p *TrickyDateParsing) GetHourSecond() (res int) + func (p *TrickyDateParsing) GetSecondsMicrosecs() (res int) + func (p *TrickyDateParsing) GetSecondsSecond() (res int) + type URL struct + DBName []byte + Host []byte + Port uint16 + Rest []byte + User struct{ ... } + UserPass struct{ ... } + func (p *URL) Extract(line []byte) (bool, error) + func (p *URL) GetUserPassPassword() (res []byte) + func (p *URL) GetUserPassUser() (res []byte) + func (p *URL) GetUserUser() (res []byte)