Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoEnvironment ¶
type GoEnvironment struct {
}
GoEnvironment is a partial implementation of Environment which provides the methods and types that the go runtime can answer
func (*GoEnvironment) InterfaceByName ¶
func (e *GoEnvironment) InterfaceByName(name string) (*GoInterface, error)
InterfaceByName implements Environment
func (*GoEnvironment) Interfaces ¶
func (e *GoEnvironment) Interfaces() ([]*GoInterface, error)
Interfaces implements Environment
type GoInterface ¶
GoInterface provides as much of Interface as the go runtime can
func (*GoInterface) Addrs ¶
func (i *GoInterface) Addrs() ([]net.IPNet, error)
Addrs implements Interface, looks up the IP addresses for the interface
func (*GoInterface) IsUp ¶
func (i *GoInterface) IsUp() bool
IsUp implements Interface, checks for FlagUp
func (*GoInterface) Name ¶
func (i *GoInterface) Name() string
Name implements Interface, gets its name
Click to show internal directories.
Click to hide internal directories.