network

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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

  • valid subnet string example: 192.168.69.0/24

  • valid range string example: 192.168.69.0-192.168.69.254

    it then 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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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