interfaces

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 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
	GetHeaders() map[string][]string
}

type RequestResponsePair

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

type Response

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

Jump to

Keyboard shortcuts

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