network

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package network provides utilities for network interface enumeration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInterfaceType

func GetInterfaceType(ifaceName string) string

GetInterfaceType determines the type of network interface

Types

type InterfaceOption

type InterfaceOption struct {
	Name          string
	Address       string
	Broadcast     string
	Description   string
	InterfaceType string // "ethernet", "wifi", "other", "localhost", "global"
}

InterfaceOption represents a network interface option for Art-Net broadcast

func GetNetworkInterfaces

func GetNetworkInterfaces() ([]InterfaceOption, error)

GetNetworkInterfaces returns all available network interfaces for Art-Net broadcast

Jump to

Keyboard shortcuts

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