Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFactory ¶
type DefaultFactory struct{}
func NewFactory ¶
func NewFactory() *DefaultFactory
func (*DefaultFactory) GetNetworkInterfaceIP ¶
func (f *DefaultFactory) GetNetworkInterfaceIP(namePrefix string) (string, error)
GetNetworkInterfaceIP returns the IP address of the first local network interface whose name starts with namePrefix
func (*DefaultFactory) ScanInt ¶
func (f *DefaultFactory) ScanInt() (int, error)
Read stdin up to the next space and convert to an int.
type TestFactory ¶
func NewTestFactory ¶
func NewTestFactory() *TestFactory
func (*TestFactory) ScanInt ¶
func (f *TestFactory) ScanInt() (int, error)
Click to show internal directories.
Click to hide internal directories.