transport

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReponse added in v0.23.24

func NewReponse() *generated.Response

func NewRequest added in v0.23.24

func NewRequest(id uuid.UUID) *generated.Request

Types

type Exchange added in v0.23.24

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

func New

func New() *Exchange

func (*Exchange) Request added in v0.23.24

func (e *Exchange) Request() *generated.Request

func (*Exchange) RequestFromHTTP added in v0.23.24

func (e *Exchange) RequestFromHTTP(r *http.Request)

func (*Exchange) RequestFromTCP added in v0.23.24

func (e *Exchange) RequestFromTCP(b []byte)

func (*Exchange) Response added in v0.23.24

func (e *Exchange) Response(res ...*generated.Response) *generated.Response

func (*Exchange) ResponseFromHTTP added in v0.23.24

func (e *Exchange) ResponseFromHTTP(w http.ResponseWriter)

func (*Exchange) ResponseFromTCP added in v0.23.24

func (e *Exchange) ResponseFromTCP() []byte

func (*Exchange) Wait added in v0.23.24

func (e *Exchange) Wait()

Directories

Path Synopsis
proto

Jump to

Keyboard shortcuts

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