pi

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

func New

func New() *Adapter

func (*Adapter) Name

func (a *Adapter) Name() string

func (*Adapter) Run

func (a *Adapter) Run(ctx context.Context, config bridgeconfig.Config) error

type Codec added in v0.1.18

type Codec struct{}

func NewCodec added in v0.1.18

func NewCodec() *Codec

func (*Codec) DecodeResponse added in v0.1.18

func (*Codec) DecodeResponse(
	config bridgeconfig.Config,
	_ loop.ControlDelivery,
	response *http.Response,
) (loop.ControlResult, error)

func (*Codec) EncodeRequest added in v0.1.18

func (*Codec) EncodeRequest(
	ctx context.Context,
	config bridgeconfig.Config,
	delivery loop.ControlDelivery,
) (*http.Request, error)

Jump to

Keyboard shortcuts

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