netroute

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkRoute

type NetworkRoute struct {
	*standardcimv2.MSFT_NetRoute
}

func NewNetworkRoute

func NewNetworkRoute(instance *wmi.WmiInstance) (*NetworkRoute, error)

NewNetworkRoute

func (*NetworkRoute) GetInterfaceIndex

func (r *NetworkRoute) GetInterfaceIndex() (value int32, err error)

type NetworkRouteCollection

type NetworkRouteCollection []*NetworkRoute

func NewNetworkRouteCollection

func NewNetworkRouteCollection(instances []*wmi.WmiInstance) (col NetworkRouteCollection, err error)

func (*NetworkRouteCollection) Close

func (netroutes *NetworkRouteCollection) Close() (err error)

func (*NetworkRouteCollection) String

func (netroutes *NetworkRouteCollection) String() string

Jump to

Keyboard shortcuts

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