dialer

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DialeFn

type DialeFn interface {
	Dial(ctx context.Context, address string) (net.Conn, error)
	Protocol() string
}

type RaceDial

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

func NewRaceDial

func NewRaceDial(log *log.Entry, serverURL string, dialerFns ...DialeFn) *RaceDial

func (*RaceDial) Dial

func (r *RaceDial) Dial() (net.Conn, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳