transport

package
v0.2.40 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct {
	XConfig               *xconn.Config
	IdleUDPTimeout        time.Duration
	EnableGROOptimization bool
	// contains filtered or unexported fields
}

func NewTransport

func NewTransport(IdleUDPTimeout time.Duration, xConfig *xconn.Config, EnableGRO bool) *Transport

func (*Transport) Clone

func (t *Transport) Clone() *Transport

func (*Transport) DialURL

func (transport *Transport) DialURL(ctx context.Context, url *url.URL) (net.Conn, error)

func (*Transport) ListenURL

func (transport *Transport) ListenURL(ctx context.Context, listenURL *url.URL) (net.Listener, []url.URL, error)

func (*Transport) SupportDial

func (t *Transport) SupportDial(scheme string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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