transport

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRequest

func NewRequest(ctx context.Context, v any) (*http.Request, error)

Types

type Incoming

type Incoming interface {
	UnmarshalOperator(ctx context.Context, r request.Request, op any) error
	WriteResponse(ctx context.Context, rw http.ResponseWriter, result any, r request.Request)
}

func NewIncoming

func NewIncoming(_ context.Context, _ any) (Incoming, error)

type Outgoing

type Outgoing interface {
	NewRequest(ctx context.Context, v any) (*http.Request, error)
}

func NewOutgoingTransport

func NewOutgoingTransport(ctx context.Context, r any) (Outgoing, error)

type Upgrader

type Upgrader = upgrader.Upgrader

Jump to

Keyboard shortcuts

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