Documentation
¶
Index ¶
- func IsTcpPortOpen(hostnameOrIp string, port int, verbose bool) (isOpen bool, err error)
- func LookupIpV4(ctx context.Context, fqdn string) (ipV4Addresses []string, err error)
- func MustIsTcpPortOpen(hostnameOrIp string, port int, verbose bool) (isOpen bool)
- func MustLookupIpV4(ctx context.Context, fqdn string) (ipV4Addresses []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTcpPortOpen ¶
Check if a TCP port on the given hostnameOrIp with given portNumber is open. The evaluation is done by opening a TCP socket and close it again.
func LookupIpV4 ¶ added in v0.259.0
func MustIsTcpPortOpen ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.