httpelement

package
v0.0.2-alpha22 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryStr         string = "query"
	PathStr          string = "path"
	HeaderStr        string = "header"
	BodyAttributeStr string = "body"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowControlAction

type FlowControlAction int
const (
	IncrementRequest FlowControlAction = iota
	ConcludeSuccess
)

type HTTPElement

type HTTPElement interface {
	GetName() string
	GetLocation() HTTPElementLocation
}

func NewHTTPElement

func NewHTTPElement(name, location string) (HTTPElement, error)

type HTTPElementLocation

type HTTPElementLocation int
const (
	QueryParam HTTPElementLocation = iota
	PathParam
	Header
	BodyAttribute
)

type IHTTPElement

type IHTTPElement struct {
	// contains filtered or unexported fields
}

func (*IHTTPElement) GetLocation

func (he *IHTTPElement) GetLocation() HTTPElementLocation

func (*IHTTPElement) GetName

func (he *IHTTPElement) GetName() string

Jump to

Keyboard shortcuts

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