netx

package
v1.5.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTemporary

func IsTemporary(err error) bool

IsTemporary reports whether the error is a temporary network error. Note: net.Error.Temporary() may be deprecated in future Go versions

func IsTimeout

func IsTimeout(err error) bool

IsTimeout reports whether the error is a timeout. Note: net.Error.Timeout() may be deprecated in future Go versions

func WaitPort

func WaitPort(addr string, timeout time.Duration) error

WaitPort keeps trying to connect to addr (host:port) until success or timeout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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