interfaces

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request interface {
	GetPath() *string
	GetMethod() *string
	GetDestination() *string
	GetScheme() *string
	GetQuery() *string
	GetBody() *string
	GetFormData() map[string][]string
	GetHeaders() map[string][]string
}

type RequestResponsePair

type RequestResponsePair interface {
	GetRequest() Request
	GetResponse() Response
}

type Response

type Response interface {
	GetStatus() int
	GetBody() string
	GetBodyFile() string
	GetEncodedBody() bool
	GetTemplated() bool
	GetHeaders() map[string][]string
	GetTransitionsState() map[string]string
	GetRemovesState() []string
	GetFixedDelay() int
	GetLogNormalDelay() ResponseDelay
	GetPostServeAction() string
}

type ResponseDelay added in v1.3.0

type ResponseDelay interface {
	GetMin() int
	GetMax() int
	GetMedian() int
	GetMean() int
}

Jump to

Keyboard shortcuts

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