hookshttp

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

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

func New

func New(opts ...Option) *Dispatcher

func (*Dispatcher) Dispatch

func (o *Dispatcher) Dispatch(
	ctx context.Context,
	cfg *conf.ExtensibilityPointConfiguration,
	req any,
	res any,
) error

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithBackoff

func WithBackoff(d time.Duration) Option

func WithResponseLimit

func WithResponseLimit(n int64) Option

func WithRetries

func WithRetries(n int) Option

func WithTimeout

func WithTimeout(d time.Duration) Option

Jump to

Keyboard shortcuts

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