simple

package
v6.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2019 HAProxy Technologies

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayKeyValue

type ArrayKeyValue struct {
	Name string
	// contains filtered or unexported fields
}

func (*ArrayKeyValue) Delete

func (p *ArrayKeyValue) Delete(index int) error

func (*ArrayKeyValue) Get

func (p *ArrayKeyValue) Get(createIfNotExist bool) (common.ParserData, error)

func (*ArrayKeyValue) GetOne

func (p *ArrayKeyValue) GetOne(index int) (common.ParserData, error)

func (*ArrayKeyValue) GetParserName

func (p *ArrayKeyValue) GetParserName() string

func (*ArrayKeyValue) GetPreComments

func (p *ArrayKeyValue) GetPreComments() ([]string, error)

func (*ArrayKeyValue) Init

func (p *ArrayKeyValue) Init()

func (*ArrayKeyValue) Insert

func (p *ArrayKeyValue) Insert(data common.ParserData, index int) error

func (*ArrayKeyValue) Parse

func (p *ArrayKeyValue) Parse(line string, parts []string, comment string) (string, error)

func (*ArrayKeyValue) PreParse

func (p *ArrayKeyValue) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*ArrayKeyValue) Result

func (p *ArrayKeyValue) Result() ([]common.ReturnResultLine, error)

func (*ArrayKeyValue) ResultAll

func (p *ArrayKeyValue) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*ArrayKeyValue) Set

func (p *ArrayKeyValue) Set(data common.ParserData, index int) error

func (*ArrayKeyValue) SetPreComments

func (p *ArrayKeyValue) SetPreComments(preComments []string)

type AutoOnOff

type AutoOnOff struct {
	Name string
	// contains filtered or unexported fields
}

func (*AutoOnOff) Delete

func (p *AutoOnOff) Delete(index int) error

func (*AutoOnOff) Get

func (p *AutoOnOff) Get(createIfNotExist bool) (common.ParserData, error)

func (*AutoOnOff) GetOne

func (p *AutoOnOff) GetOne(index int) (common.ParserData, error)

func (*AutoOnOff) GetParserName

func (p *AutoOnOff) GetParserName() string

func (*AutoOnOff) GetPreComments

func (p *AutoOnOff) GetPreComments() ([]string, error)

func (*AutoOnOff) Init

func (p *AutoOnOff) Init()

func (*AutoOnOff) Insert

func (p *AutoOnOff) Insert(data common.ParserData, index int) error

func (*AutoOnOff) Parse

func (s *AutoOnOff) Parse(line string, parts []string, comment string) (string, error)

func (*AutoOnOff) PreParse

func (p *AutoOnOff) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*AutoOnOff) Result

func (s *AutoOnOff) Result() ([]common.ReturnResultLine, error)

func (*AutoOnOff) ResultAll

func (p *AutoOnOff) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*AutoOnOff) Set

func (p *AutoOnOff) Set(data common.ParserData, index int) error

func (*AutoOnOff) SetPreComments

func (p *AutoOnOff) SetPreComments(preComments []string)

type Enabled

type Enabled struct {
	Name string
	// contains filtered or unexported fields
}

func (*Enabled) Delete

func (p *Enabled) Delete(index int) error

func (*Enabled) Get

func (p *Enabled) Get(createIfNotExist bool) (common.ParserData, error)

func (*Enabled) GetOne

func (p *Enabled) GetOne(index int) (common.ParserData, error)

func (*Enabled) GetParserName

func (p *Enabled) GetParserName() string

func (*Enabled) GetPreComments

func (p *Enabled) GetPreComments() ([]string, error)

func (*Enabled) Init

func (p *Enabled) Init()

func (*Enabled) Insert

func (p *Enabled) Insert(data common.ParserData, index int) error

func (*Enabled) Parse

func (e *Enabled) Parse(line string, parts []string, comment string) (string, error)

func (*Enabled) PreParse

func (p *Enabled) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Enabled) Result

func (e *Enabled) Result() ([]common.ReturnResultLine, error)

func (*Enabled) ResultAll

func (p *Enabled) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Enabled) Set

func (p *Enabled) Set(data common.ParserData, index int) error

func (*Enabled) SetPreComments

func (p *Enabled) SetPreComments(preComments []string)

type Number

type Number struct {
	Name string
	// contains filtered or unexported fields
}

func (*Number) Delete

func (p *Number) Delete(index int) error

func (*Number) Get

func (p *Number) Get(createIfNotExist bool) (common.ParserData, error)

func (*Number) GetOne

func (p *Number) GetOne(index int) (common.ParserData, error)

func (*Number) GetParserName

func (p *Number) GetParserName() string

func (*Number) GetPreComments

func (p *Number) GetPreComments() ([]string, error)

func (*Number) Init

func (p *Number) Init()

func (*Number) Insert

func (p *Number) Insert(data common.ParserData, index int) error

func (*Number) Parse

func (s *Number) Parse(line string, parts []string, comment string) (string, error)

func (*Number) PreParse

func (p *Number) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Number) Result

func (s *Number) Result() ([]common.ReturnResultLine, error)

func (*Number) ResultAll

func (p *Number) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Number) Set

func (p *Number) Set(data common.ParserData, index int) error

func (*Number) SetPreComments

func (p *Number) SetPreComments(preComments []string)

type OnOff

type OnOff struct {
	Name string
	// contains filtered or unexported fields
}

func (*OnOff) Delete

func (p *OnOff) Delete(index int) error

func (*OnOff) Get

func (p *OnOff) Get(createIfNotExist bool) (common.ParserData, error)

func (*OnOff) GetOne

func (p *OnOff) GetOne(index int) (common.ParserData, error)

func (*OnOff) GetParserName

func (p *OnOff) GetParserName() string

func (*OnOff) GetPreComments

func (p *OnOff) GetPreComments() ([]string, error)

func (*OnOff) Init

func (p *OnOff) Init()

func (*OnOff) Insert

func (p *OnOff) Insert(data common.ParserData, index int) error

func (*OnOff) Parse

func (s *OnOff) Parse(line string, parts []string, comment string) (string, error)

func (*OnOff) PreParse

func (p *OnOff) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*OnOff) Result

func (s *OnOff) Result() ([]common.ReturnResultLine, error)

func (*OnOff) ResultAll

func (p *OnOff) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*OnOff) Set

func (p *OnOff) Set(data common.ParserData, index int) error

func (*OnOff) SetPreComments

func (p *OnOff) SetPreComments(preComments []string)

type Option

type Option struct {
	Name string
	// contains filtered or unexported fields
}

func (*Option) Delete

func (p *Option) Delete(index int) error

func (*Option) Get

func (p *Option) Get(createIfNotExist bool) (common.ParserData, error)

func (*Option) GetOne

func (p *Option) GetOne(index int) (common.ParserData, error)

func (*Option) GetParserName

func (p *Option) GetParserName() string

func (*Option) GetPreComments

func (p *Option) GetPreComments() ([]string, error)

func (*Option) Init

func (o *Option) Init()

func (*Option) Insert

func (p *Option) Insert(data common.ParserData, index int) error

func (*Option) Parse

func (o *Option) Parse(line string, parts []string, comment string) (string, error)

func (*Option) PreParse

func (p *Option) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Option) Result

func (o *Option) Result() ([]common.ReturnResultLine, error)

func (*Option) ResultAll

func (p *Option) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Option) Set

func (p *Option) Set(data common.ParserData, index int) error

func (*Option) SetPreComments

func (p *Option) SetPreComments(preComments []string)

type Size

type Size struct {
	Name string
	// contains filtered or unexported fields
}

func (*Size) Delete

func (p *Size) Delete(index int) error

func (*Size) Get

func (p *Size) Get(createIfNotExist bool) (common.ParserData, error)

func (*Size) GetOne

func (p *Size) GetOne(index int) (common.ParserData, error)

func (*Size) GetParserName

func (p *Size) GetParserName() string

func (*Size) GetPreComments

func (p *Size) GetPreComments() ([]string, error)

func (*Size) Init

func (p *Size) Init()

func (*Size) Insert

func (p *Size) Insert(data common.ParserData, index int) error

func (*Size) Parse

func (s *Size) Parse(line string, parts []string, comment string) (string, error)

func (*Size) PreParse

func (p *Size) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Size) Result

func (s *Size) Result() ([]common.ReturnResultLine, error)

func (*Size) ResultAll

func (p *Size) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Size) Set

func (p *Size) Set(data common.ParserData, index int) error

func (*Size) SetPreComments

func (p *Size) SetPreComments(preComments []string)

type String

type String struct {
	Name string
	// contains filtered or unexported fields
}

func (*String) Delete

func (p *String) Delete(index int) error

func (*String) Get

func (p *String) Get(createIfNotExist bool) (common.ParserData, error)

func (*String) GetOne

func (p *String) GetOne(index int) (common.ParserData, error)

func (*String) GetParserName

func (p *String) GetParserName() string

func (*String) GetPreComments

func (p *String) GetPreComments() ([]string, error)

func (*String) Init

func (p *String) Init()

func (*String) Insert

func (p *String) Insert(data common.ParserData, index int) error

func (*String) Parse

func (s *String) Parse(line string, parts []string, comment string) (string, error)

func (*String) PreParse

func (p *String) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*String) Result

func (s *String) Result() ([]common.ReturnResultLine, error)

func (*String) ResultAll

func (p *String) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*String) Set

func (p *String) Set(data common.ParserData, index int) error

func (*String) SetPreComments

func (p *String) SetPreComments(preComments []string)

type StringKeyValue

type StringKeyValue struct {
	Name string
	// contains filtered or unexported fields
}

func (*StringKeyValue) Delete

func (p *StringKeyValue) Delete(index int) error

func (*StringKeyValue) Get

func (p *StringKeyValue) Get(createIfNotExist bool) (common.ParserData, error)

func (*StringKeyValue) GetOne

func (p *StringKeyValue) GetOne(index int) (common.ParserData, error)

func (*StringKeyValue) GetParserName

func (p *StringKeyValue) GetParserName() string

func (*StringKeyValue) GetPreComments

func (p *StringKeyValue) GetPreComments() ([]string, error)

func (*StringKeyValue) Init

func (p *StringKeyValue) Init()

func (*StringKeyValue) Insert

func (p *StringKeyValue) Insert(data common.ParserData, index int) error

func (*StringKeyValue) Parse

func (s *StringKeyValue) Parse(line string, parts []string, comment string) (string, error)

func (*StringKeyValue) PreParse

func (p *StringKeyValue) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*StringKeyValue) Result

func (s *StringKeyValue) Result() ([]common.ReturnResultLine, error)

func (*StringKeyValue) ResultAll

func (p *StringKeyValue) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*StringKeyValue) Set

func (p *StringKeyValue) Set(data common.ParserData, index int) error

func (*StringKeyValue) SetPreComments

func (p *StringKeyValue) SetPreComments(preComments []string)

type StringSlice

type StringSlice struct {
	Name string
	// contains filtered or unexported fields
}

func (*StringSlice) Delete

func (p *StringSlice) Delete(index int) error

func (*StringSlice) Get

func (p *StringSlice) Get(createIfNotExist bool) (common.ParserData, error)

func (*StringSlice) GetOne

func (p *StringSlice) GetOne(index int) (common.ParserData, error)

func (*StringSlice) GetParserName

func (p *StringSlice) GetParserName() string

func (*StringSlice) GetPreComments

func (p *StringSlice) GetPreComments() ([]string, error)

func (*StringSlice) Init

func (p *StringSlice) Init()

func (*StringSlice) Insert

func (p *StringSlice) Insert(data common.ParserData, index int) error

func (*StringSlice) Parse

func (s *StringSlice) Parse(line string, parts []string, comment string) (string, error)

func (*StringSlice) PreParse

func (p *StringSlice) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*StringSlice) Result

func (s *StringSlice) Result() ([]common.ReturnResultLine, error)

func (*StringSlice) ResultAll

func (p *StringSlice) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*StringSlice) Set

func (p *StringSlice) Set(data common.ParserData, index int) error

func (*StringSlice) SetPreComments

func (p *StringSlice) SetPreComments(preComments []string)

type Time

type Time struct {
	Name string
	// contains filtered or unexported fields
}

func (*Time) Delete

func (p *Time) Delete(index int) error

func (*Time) Get

func (p *Time) Get(createIfNotExist bool) (common.ParserData, error)

func (*Time) GetOne

func (p *Time) GetOne(index int) (common.ParserData, error)

func (*Time) GetParserName

func (p *Time) GetParserName() string

func (*Time) GetPreComments

func (p *Time) GetPreComments() ([]string, error)

func (*Time) Init

func (p *Time) Init()

func (*Time) Insert

func (p *Time) Insert(data common.ParserData, index int) error

func (*Time) Parse

func (s *Time) Parse(line string, parts []string, comment string) (string, error)

func (*Time) PreParse

func (p *Time) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Time) Result

func (s *Time) Result() ([]common.ReturnResultLine, error)

func (*Time) ResultAll

func (p *Time) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Time) Set

func (p *Time) Set(data common.ParserData, index int) error

func (*Time) SetPreComments

func (p *Time) SetPreComments(preComments []string)

type TimeTwoWords

type TimeTwoWords struct {
	Keywords []string
	Name     string
	// contains filtered or unexported fields
}

func (*TimeTwoWords) Delete

func (p *TimeTwoWords) Delete(index int) error

func (*TimeTwoWords) Get

func (p *TimeTwoWords) Get(createIfNotExist bool) (common.ParserData, error)

func (*TimeTwoWords) GetOne

func (p *TimeTwoWords) GetOne(index int) (common.ParserData, error)

func (*TimeTwoWords) GetParserName

func (p *TimeTwoWords) GetParserName() string

func (*TimeTwoWords) GetPreComments

func (p *TimeTwoWords) GetPreComments() ([]string, error)

func (*TimeTwoWords) Init

func (s *TimeTwoWords) Init()

func (*TimeTwoWords) Insert

func (p *TimeTwoWords) Insert(data common.ParserData, index int) error

func (*TimeTwoWords) Parse

func (s *TimeTwoWords) Parse(line string, parts []string, comment string) (string, error)

func (*TimeTwoWords) PreParse

func (p *TimeTwoWords) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*TimeTwoWords) Result

func (s *TimeTwoWords) Result() ([]common.ReturnResultLine, error)

func (*TimeTwoWords) ResultAll

func (p *TimeTwoWords) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*TimeTwoWords) Set

func (p *TimeTwoWords) Set(data common.ParserData, index int) error

func (*TimeTwoWords) SetPreComments

func (p *TimeTwoWords) SetPreComments(preComments []string)

type Timeout

type Timeout struct {
	Name string
	// contains filtered or unexported fields
}

func (*Timeout) Delete

func (p *Timeout) Delete(index int) error

func (*Timeout) Get

func (p *Timeout) Get(createIfNotExist bool) (common.ParserData, error)

func (*Timeout) GetOne

func (p *Timeout) GetOne(index int) (common.ParserData, error)

func (*Timeout) GetParserName

func (p *Timeout) GetParserName() string

func (*Timeout) GetPreComments

func (p *Timeout) GetPreComments() ([]string, error)

func (*Timeout) Init

func (t *Timeout) Init()

func (*Timeout) Insert

func (p *Timeout) Insert(data common.ParserData, index int) error

func (*Timeout) Parse

func (t *Timeout) Parse(line string, parts []string, comment string) (string, error)

func (*Timeout) PreParse

func (p *Timeout) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Timeout) Result

func (t *Timeout) Result() ([]common.ReturnResultLine, error)

func (*Timeout) ResultAll

func (p *Timeout) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Timeout) Set

func (p *Timeout) Set(data common.ParserData, index int) error

func (*Timeout) SetPreComments

func (p *Timeout) SetPreComments(preComments []string)

type Word

type Word struct {
	Name string
	// contains filtered or unexported fields
}

func (*Word) Delete

func (p *Word) Delete(index int) error

func (*Word) Get

func (p *Word) Get(createIfNotExist bool) (common.ParserData, error)

func (*Word) GetOne

func (p *Word) GetOne(index int) (common.ParserData, error)

func (*Word) GetParserName

func (p *Word) GetParserName() string

func (*Word) GetPreComments

func (p *Word) GetPreComments() ([]string, error)

func (*Word) Init

func (p *Word) Init()

func (*Word) Insert

func (p *Word) Insert(data common.ParserData, index int) error

func (*Word) Parse

func (s *Word) Parse(line string, parts []string, comment string) (string, error)

func (*Word) PreParse

func (p *Word) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Word) Result

func (s *Word) Result() ([]common.ReturnResultLine, error)

func (*Word) ResultAll

func (p *Word) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Word) Set

func (p *Word) Set(data common.ParserData, index int) error

func (*Word) SetPreComments

func (p *Word) SetPreComments(preComments []string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL