Documentation
¶
Index ¶
Constants ¶
View Source
const (
NoneProtocol = "none"
)
View Source
const (
ProtocolDHCP = "dhcp"
)
View Source
const (
ProtocolStatic = "static"
)
Variables ¶
This section is empty.
Functions ¶
func PortCreate ¶
Types ¶
type NetworkManager ¶
type NetworkManager interface {
Initialize() error
Interfaces() ([]Interface, error)
// contains filtered or unexported methods
}
func GetNetworkManager ¶
func GetNetworkManager(filename string) (NetworkManager, error)
GetNetworkManager gets a new manager and loads settings from the provided toml file
type Protocol ¶
type Protocol interface {
Configure(mgr NetworkManager, inf string) error
}
func GetProtocol ¶
Click to show internal directories.
Click to hide internal directories.