netX

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() string

GetOutboundIP 获得对外发送消息的 IP 地址 如果获取失败,返回空字符串

func GetOutboundIPWithError

func GetOutboundIPWithError() (string, error)

GetOutboundIPWithError 获得对外发送消息的 IP 地址,并返回错误信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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