ip

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

ip


func CheckIPFormat()

func CheckIPv4Format()

func CheckIPv6Format()

func CheckIPv4OverlapCIDR()

func CheckIPv6OverlapCIDR()

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmp

func Cmp(a, b net.IP) int

func NextIP

func NextIP(ip net.IP) net.IP

func ParseIP

func ParseIP(s string) *net.IPNet

func PrevIP

func PrevIP(ip net.IP) net.IP

Types

type IPs

type IPs []net.IP

func IPsDiffSet

func IPsDiffSet(a, b IPs) IPs

func ParseIPRanges

func ParseIPRanges(ipRanges []string) IPs

Jump to

Keyboard shortcuts

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