network

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConnectionToLoginServer

func CheckConnectionToLoginServer() error

func CheckSeuLanConnection

func CheckSeuLanConnection() error

func CheckWanConnection

func CheckWanConnection() error

func HttpConnect

func HttpConnect(host string) (string, error)

Types

type InterfaceInfo

type InterfaceInfo struct {
	Name string
	IP   string
}

InterfaceInfo describes a usable network interface with an IPv4 address.

func ListUsableInterfaces

func ListUsableInterfaces() ([]InterfaceInfo, error)

ListUsableInterfaces returns active IPv4 interfaces, excluding loopback and common virtual adapters.

Jump to

Keyboard shortcuts

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