transport

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream added in v1.33.0

type Stream interface {
	io.ReadWriteCloser
	// close the write end of the stream, unblock subsequent reads
	CloseWrite() error
}

type StreamDialer added in v1.33.0

type StreamDialer interface {
	// Dial connects to the host:port address using the provided context
	Dial(ctx context.Context, address string) (Stream, error)
}

type TCPStreamDialer added in v1.33.0

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

TCPStreamDialer implements StreamDialer with the standard net.Dialer

func (TCPStreamDialer) Dial added in v1.33.0

func (d TCPStreamDialer) Dial(ctx context.Context, address string) (Stream, error)

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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