Documentation ¶
Overview ¶
* @File: dns.go * @Date: 2019-06-07 12:56:20 * @OA: Antonio Escalera * @CA: Antonio Escalera * @Time: 2019-06-07 14:40:48 * @Mail: antonioe@wolfram.com * @Copy: Copyright © 2019 Antonio Escalera <aj@angelofdeauth.host>
* @File: unique.go * @Date: 2019-06-07 12:53:02 * @OA: Antonio Escalera * @CA: Antonio Escalera * @Time: 2019-06-07 12:53:09 * @Mail: antonioe@wolfram.com * @Copy: Copyright © 2019 Antonio Escalera <aj@angelofdeauth.host>
Index ¶
- func DnsHostnames(debug bool, ip net.IP) ([]string, error)
- func HostsInSubnet(s *net.IPNet, subFn SubnetFunc) error
- func PingHostnames(ip net.IP, attempts int, interval time.Duration, timeout time.Duration) (*ping.Pinger, error)
- func ReadAWDataIntoSlice(s string, debug bool) ([]net.IP, error)
- func ReadArpDataIntoSlice(path string, debug bool) ([]net.IP, error)
- func ReadSubnetIntoChan(s *net.IPNet, debug bool) (<-chan net.IP, <-chan error)
- type AWData
- type ArpData
- type FieldsReader
- type SubnetFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostsInSubnet ¶
func HostsInSubnet(s *net.IPNet, subFn SubnetFunc) error
func PingHostnames ¶
Types ¶
type AWData ¶
func ReadAWDataIntoStruct ¶
type ArpData ¶
func ReadArpDataIntoStruct ¶
type FieldsReader ¶
func NewFieldsReader ¶
func NewFieldsReader(r io.Reader) *FieldsReader
func (*FieldsReader) Read ¶
func (r *FieldsReader) Read() (record []string, err error)
func (*FieldsReader) ReadAll ¶
func (r *FieldsReader) ReadAll() (records [][]string, err error)
Click to show internal directories.
Click to hide internal directories.