net

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutIpPort

func CheckoutIpPort(str string) (string, error)

CheckoutIpPort 检出IP和端口

func GetIPNet

func GetIPNet() (*net.IPNet, error)

GetIPNet 获取IPNet对象

func GetIPWithLocal

func GetIPWithLocal() (string, error)

GetIPWithLocal 获取本地内网IP

func PingConn

func PingConn(ipPort string, timeout time.Duration) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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