Documentation ¶
Index ¶
- func AllAddr(addr net.Addr) bool
- func BroadcastInterface(intf net.Interface) bool
- func HostIP(intfFilter InterfaceFilter, addrFilter AddrFilter) []string
- func HostIPv4() []string
- func HostIPv6() []string
- func HostMAC() []string
- func LoopbackInterface(intf net.Interface) bool
- func Marshal() []byte
- func MarshalIndent() []byte
- func MarshalIndentString() string
- func MulticastInterface(intf net.Interface) bool
- func PointToPointInterface(intf net.Interface) bool
- func RunningInterface(intf net.Interface) bool
- func UpInterface(intf net.Interface) bool
- type AddrFilter
- type CPUByModel
- type CPUV2
- type DiskUsageInfo
- type DiskV2
- type GPUV2
- type InterfaceFilter
- type MemV2
- type NetV2
- type SysHard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadcastInterface ¶
func HostIP ¶
func HostIP(intfFilter InterfaceFilter, addrFilter AddrFilter) []string
func LoopbackInterface ¶
func MarshalIndent ¶
func MarshalIndent() []byte
func MarshalIndentString ¶ added in v1.2.44
func MarshalIndentString() string
func MulticastInterface ¶
func PointToPointInterface ¶
func RunningInterface ¶
func UpInterface ¶
Types ¶
type AddrFilter ¶
type CPUByModel ¶ added in v1.2.44
type CPUV2 ¶ added in v1.2.44
type CPUV2 struct { ModelCount int CPUModel map[string]CPUByModel }
type DiskUsageInfo ¶ added in v1.2.44
type DiskV2 ¶ added in v1.2.44
type DiskV2 struct { DiskUsageInfo []DiskUsageInfo Usages []*psdisk.UsageStat `json:"disk_raw_usage"` }
type InterfaceFilter ¶
Click to show internal directories.
Click to hide internal directories.