dial

package
v0.0.0-...-c201ef6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

type Dialer interface {
	Dial(network, address string) (io.ReadWriteCloser, error)
}

type NetDialer

type NetDialer struct {
	TimeoutSeconds int64
}

func (*NetDialer) Dial

func (d *NetDialer) Dial(network, address string) (io.ReadWriteCloser, error)

type TLSDialer

type TLSDialer struct {
	TimeoutSeconds int64
	Config         *tls.Config
}

func (*TLSDialer) Dial

func (d *TLSDialer) Dial(network, address string) (io.ReadWriteCloser, error)

Jump to

Keyboard shortcuts

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