http

package
v3.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 Checks

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

func (*Checks) Delete

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

func (*Checks) Get

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

func (*Checks) GetOne

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

func (*Checks) GetParserName

func (p *Checks) GetParserName() string

func (*Checks) Init

func (h *Checks) Init()

func (*Checks) Insert

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

func (*Checks) Parse

func (h *Checks) Parse(line string, parts, previousParts []string, comment string) (string, error)

func (*Checks) PreParse

func (p *Checks) PreParse(line string, parts, previousParts []string, preComments []string, comment string) (changeState string, err error)

func (*Checks) Result

func (h *Checks) Result() ([]common.ReturnResultLine, error)

func (*Checks) ResultAll

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

func (*Checks) Set

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

type Redirect

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

func (*Redirect) Delete

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

func (*Redirect) Get

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

func (*Redirect) GetOne

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

func (*Redirect) GetParserName

func (p *Redirect) GetParserName() string

func (*Redirect) Init

func (h *Redirect) Init()

func (*Redirect) Insert

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

func (*Redirect) Parse

func (h *Redirect) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)

func (*Redirect) ParseHTTPResponse

func (h *Redirect) ParseHTTPResponse(response types.HTTPAction, parts []string, comment string) error

func (*Redirect) PreParse

func (p *Redirect) PreParse(line string, parts, previousParts []string, preComments []string, comment string) (changeState string, err error)

func (*Redirect) Result

func (h *Redirect) Result() ([]common.ReturnResultLine, error)

func (*Redirect) ResultAll

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

func (*Redirect) Set

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

type Requests

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

func (*Requests) Delete

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

func (*Requests) Get

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

func (*Requests) GetOne

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

func (*Requests) GetParserName

func (p *Requests) GetParserName() string

func (*Requests) Init

func (h *Requests) Init()

func (*Requests) Insert

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

func (*Requests) Parse

func (h *Requests) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)

func (*Requests) ParseHTTPRequest

func (h *Requests) ParseHTTPRequest(request types.HTTPAction, parts []string, comment string) error

func (*Requests) PreParse

func (p *Requests) PreParse(line string, parts, previousParts []string, preComments []string, comment string) (changeState string, err error)

func (*Requests) Result

func (h *Requests) Result() ([]common.ReturnResultLine, error)

func (*Requests) ResultAll

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

func (*Requests) Set

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

type Responses

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

func (*Responses) Delete

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

func (*Responses) Get

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

func (*Responses) GetOne

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

func (*Responses) GetParserName

func (p *Responses) GetParserName() string

func (*Responses) Init

func (h *Responses) Init()

func (*Responses) Insert

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

func (*Responses) Parse

func (h *Responses) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)

func (*Responses) ParseHTTPResponse

func (h *Responses) ParseHTTPResponse(response types.HTTPAction, parts []string, comment string) error

func (*Responses) PreParse

func (p *Responses) PreParse(line string, parts, previousParts []string, preComments []string, comment string) (changeState string, err error)

func (*Responses) Result

func (h *Responses) Result() ([]common.ReturnResultLine, error)

func (*Responses) ResultAll

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

func (*Responses) Set

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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