transport

package
v0.0.0-...-8f2686c Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel interface {
	Request(request HTTPRequest) (HTTPResponse, error)
}

type HTTPRequest

type HTTPRequest interface {
	Headers() http.Header
	Body() io.Reader
}

type HTTPResponse

type HTTPResponse interface {
	HTTPRequest
}

type OutboundCodec

type OutboundCodec interface {
	RequestEncoder
	ResponseDecoder
}

type RequestEncoder

type RequestEncoder interface {
	Encode(message message.AgentMessage) (HTTPRequest, error)
}

type ResponseDecoder

type ResponseDecoder interface {
	Decode(response HTTPResponse) (message.AgentMessage, error)
}

Directories

Path Synopsis
car

Jump to

Keyboard shortcuts

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