vnet

package
v0.0.0-...-1671bb8 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PrivateNetwork = []string{
		"10.0.0.0/8",
		"172.16.0.0/12",
		"192.168.0.0/16",
	}
)

Functions

This section is empty.

Types

type IP4

type IP4 struct{}

func IPv4

func IPv4() *IP4

func (*IP4) Atoi

func (i *IP4) Atoi(ip string) uint64

func (*IP4) Itoa

func (i *IP4) Itoa(intip uint64) string

func (*IP4) Valid

func (i *IP4) Valid(ip string) bool

Jump to

Keyboard shortcuts

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