transport

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(r *RPC)

func WithAfterPlugins

func WithAfterPlugins(plugins ...client.AfterRequestPlugin) Option

func WithBeforePlugins

func WithBeforePlugins(plugins ...client.BeforeRequestPlugin) Option

func WithLogger

func WithLogger(logger logger.Logger) Option

type RPC

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

func New

func New(opts ...Option) *RPC

func (*RPC) Send

func (r *RPC) Send(ctx context.Context, request client.Request, response client.Response) (err error)

Jump to

Keyboard shortcuts

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