psutil

package
v1.2.40 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllAddr = allAddr

Functions

func BroadcastInterface

func BroadcastInterface(intf net.Interface) bool

func HostIP

func HostIP(intfFilter InterfaceFilter, addrFilter AddrFilter) []string

func HostIPv4

func HostIPv4() []string

func HostIPv6

func HostIPv6() []string

func HostMAC

func HostMAC() []string

func LoopbackInterface

func LoopbackInterface(intf net.Interface) bool

func Marshal

func Marshal() []byte

func MarshalIndent

func MarshalIndent() []byte

func MulticastInterface

func MulticastInterface(intf net.Interface) bool

func PointToPointInterface

func PointToPointInterface(intf net.Interface) bool

func RunningInterface

func RunningInterface(intf net.Interface) bool

func UpInterface

func UpInterface(intf net.Interface) bool

Types

type AddrFilter

type AddrFilter func(net.Addr) bool

type InterfaceFilter

type InterfaceFilter func(net.Interface) bool

Jump to

Keyboard shortcuts

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