network

package
Version: v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2022 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IterateNetRange

func IterateNetRange(ips interface{}) chan ipa.IP

IterateNetRange will ingest:

  • an inet.af/netaddr.Range

  • an inet.af/netaddr.Prefix

  • or a string to be parsed as either of the above options

  • examples: (192.168.69.0/24) (192.168.69.0-192.168.69.254)

    then it returns a channel that will stream all the individual netaddr.IP types within the given range or prefix. if the input is invalid this function will return nil.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL