Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { V4Iface string `gcKey:"interfaces.ipv4"` V6Iface string `gcKey:"interfaces.ipv6"` V4ID int V6ID int // contains filtered or unexported fields }
func ReadConfig ¶
func (*Config) Configure ¶
func (self *Config) Configure(list *InterfaceList) error
func (*Config) ConfigureV4 ¶
func (self *Config) ConfigureV4(list *InterfaceList) error
func (*Config) ConfigureV6 ¶
func (self *Config) ConfigureV6(list *InterfaceList) error
type InterfaceList ¶
func NewList ¶
func NewList(want int) (*InterfaceList, error)
func (*InterfaceList) GetFilteredList ¶
func (self *InterfaceList) GetFilteredList(filter int) ([]traceroute.IPAddrMap, error)
func (*InterfaceList) GetInterfaceNumber ¶
func (self *InterfaceList) GetInterfaceNumber(name string) int
func (*InterfaceList) GetPublicIP ¶
func (self *InterfaceList) GetPublicIP(ifaceNum, filter int) (*traceroute.IPAddrMap, error)
func (*InterfaceList) Show ¶
func (self *InterfaceList) Show(w io.Writer)
Click to show internal directories.
Click to hide internal directories.