impl

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	// contains filtered or unexported fields
}

func (*Cmd) CombinedOutput

func (cmd *Cmd) CombinedOutput() ([]byte, error)

func (*Cmd) Output

func (cmd *Cmd) Output() ([]byte, error)

func (*Cmd) Run

func (cmd *Cmd) Run() error

type Exec

type Exec struct {
}

func (Exec) Command

func (Exec) Command(name string, arg ...string) interfaces.Cmd

type Interface

type Interface struct {
	Interface *net.Interface
}

func (Interface) Addrs

func (intf Interface) Addrs() ([]net.Addr, error)

type NetworkManager

type NetworkManager struct {
}

func (NetworkManager) Hostname

func (NetworkManager) Hostname() (string, error)

func (NetworkManager) InterfaceByName

func (NetworkManager) InterfaceByName(networkAdapter string) (interfaces.Interface, error)

func (NetworkManager) Interfaces

func (NetworkManager) Interfaces() ([]net.Interface, error)

func (NetworkManager) Manager

func (NetworkManager) Settings

Jump to

Keyboard shortcuts

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