networkoverlap

package module
v0.0.0-...-b5fa3a1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(netw0 net.IPNet, netw1 net.IPNet) bool

Check checks if the two given networks overlap

func CheckList

func CheckList(netw net.IPNet, netws []net.IPNet) []net.IPNet

CheckList checks if the network overlaps with any network on the list and returns all overlapping networks

func CheckListBool

func CheckListBool(netw net.IPNet, netws []net.IPNet) bool

CheckListBool checks if the network overlaps with any network on the list and returns true if any overlap

Types

This section is empty.

Jump to

Keyboard shortcuts

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