build

package
v0.0.0-...-74fc5a3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2014 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	F      uint32 = 0xffffffff
	EOL           = byte('\n')
	URL           = "http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest"
	CNIPV4        = regexp.MustCompile(`apnic\|(CN|cn)\|ipv4\|([0-9\.]+)\|([0-9]+)\|([0-9]+)\|a.*`)
)

Functions

func Action

func Action(c *cli.Context)

Types

type Graph

type Graph []Node

func (Graph) Len

func (g Graph) Len() int

func (Graph) Less

func (g Graph) Less(i, j int) bool

func (Graph) Swap

func (g Graph) Swap(i, j int)

type Node

type Node struct {
	IP, Mask, Mask2 uint32
}

func NewNode

func NewNode(ip, mask string, mask2 uint32) Node

Jump to

Keyboard shortcuts

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