address

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2025 License: BSD-3-Clause Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrResolveTCPAddress = errors.New("resolve tcp address")
)

Functions

func FixIPPort added in v0.6.0

func FixIPPort(defaultPort string, ips ...string) []string

func IsValidIP

func IsValidIP(ip string) bool

func RandomPort

func RandomPort(host string) (string, error)

func ResolveIPPort added in v0.6.0

func ResolveIPPort(address string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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