iputils

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

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

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 3 Imported by: 1

README

iputils

Utilities for IP management

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []Container, ip net.IP) (ok bool)

Types

type Container

type Container interface {
	Contains(ip net.IP) bool
}

type IPRange

type IPRange string

func (IPRange) MustRange

func (this IPRange) MustRange() (ipRange *iprange.IPRange)

func (IPRange) Range

func (this IPRange) Range() (ipRange *iprange.IPRange, err error)

Jump to

Keyboard shortcuts

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