net

package
v1.172.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPort = errors.New("invalid port")

ErrInvalidPort for net.

Functions

func DialContext added in v1.158.1

func DialContext(_ context.Context, network, address string) (net.Conn, error)

DialContext for net.

func IsConnectionRefused added in v1.172.3

func IsConnectionRefused(err error) bool

IsConnectionRefused returns a boolean indicating whether the error is known to report connection is refused.

func Listener added in v1.169.0

func Listener(port string) (net.Listener, error)

Listener for net.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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