fnet

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package fnet contains functions for network operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialAndRead

func DialAndRead(network, address, want string, maxRetry int, retryInterval time.Duration)

DialAndRead dials the network address, reads the data from the established connection, and asserts it against want.

func GetFreePort

func GetFreePort() int

GetFreePort returns a free port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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