network

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IP

func IP() (ip net.IP, err error)

IP 返回本机出站地址

func IPv4

func IPv4() (ip net.IP, err error)

IPv4 返回本机出站 IPv4 地址

func IPv6

func IPv6() (ip net.IP, err error)

IPv6 返回本机出站 IPv6 地址

Types

This section is empty.

Jump to

Keyboard shortcuts

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