dialer

package
v1.4.0-rc.10 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MPL-2.0 Imports: 13 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialContext added in v1.3.3

func DialContext(ctx context.Context, network, addr string) (net.Conn, error)

DialContext dials via context and/or directly, depending on how it is configured. If dialing via proxy and allowing fallback, dialing for both happens simultaneously and the proxy connection is returned if successful.

func SetTCPOptions added in v0.12.17

func SetTCPOptions(conn net.Conn) error

SetTCPOptions sets our default TCP options on a TCP connection, possibly digging through dialerConn to extract the *net.TCPConn

func SetTrafficClass added in v0.14.17

func SetTrafficClass(conn net.Conn, class int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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