dialer

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) *net.Dialer

Types

type Config

type Config struct {
	Timeout   *json.Duration `json:"timeout,omitempty" description:"Max time to wait for a connection to complete (if zero, no timeout)"`
	KeepAlive *json.Duration `` /* 144-byte string literal not displayed */
}

func (*Config) SetDefault

func (cfg *Config) SetDefault() *Config

Jump to

Keyboard shortcuts

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