Documentation
¶
Index ¶
- func CheckPortAvailable(host string, port int) bool
- func Dial(network, addr string) (net.Conn, error)
- func DialContext(ctx context.Context, network, addr string) (net.Conn, error)
- func DialRetry(ctx context.Context, network, addr string, maxRetry uint, ...) (conn net.Conn, err error)
- func DialTimeout(network, addr string, timeout, checkInterval time.Duration) (net.Conn, error)
- func FindFreePort(host string, startPort int) (int, error)
- func ReservePort(host string, port int) (listener net.Listener, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPortAvailable ¶
func DialTimeout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.