net

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIPV6

func IsIPV6(ip _net.IP) bool

IsIPV6 checks if the input contains a valid IPV6 address

func ParseIPNets

func ParseIPNets(specs ...string) (IPNet, IP, error)

ParseIPNets parses string slice to IPNet.

Types

type IP

type IP map[string]net.IP

IP maps string to net.IP.

type IPNet

type IPNet map[string]*net.IPNet

IPNet maps string to net.IPNet.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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