tsv

package
v0.0.0-...-3c08b0c Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FeedTrunk

func FeedTrunk(t tree.Trunk, src *Source) error

Types

type Line

type Line struct {
	RangeStart net.IP
	RangeEnd   net.IP

	ASNumber      int
	CountryCode   string
	ASDescription string
	// contains filtered or unexported fields
}

func (Line) Network

func (l Line) Network() net.IPNet

type Source

type Source struct {
	// contains filtered or unexported fields
}

func New

func New(r io.Reader) *Source

func (*Source) Next

func (s *Source) Next() bool

func (*Source) Values

func (s *Source) Values() (*Line, error)

Jump to

Keyboard shortcuts

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