http

package
v1.137.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSender

func NewSender(opts ...Option) (client.Client, error)

NewSender for HTTP.

func RegisterReceiver

func RegisterReceiver(ctx context.Context, path string, mux *runtime.ServeMux, recv Receiver) error

RegisterReceiver for HTTP.

Types

type Config

type Config client.Config

Config for HTTP.

type Option

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

Option for HTTP.

func WithRoundTripper

func WithRoundTripper(rt http.RoundTripper) Option

WithRoundTripper for HTTP.

type Receiver

type Receiver func(ctx context.Context, e events.Event)

Receiver for HTTP.

Jump to

Keyboard shortcuts

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