domain

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain string

type Tree

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

func DefaultTree

func DefaultTree() *Tree

func NewDomainTree

func NewDomainTree() (dt *Tree)

func TreeFromFile

func TreeFromFile(file string) (dt *Tree, err error)

func (*Tree) Has

func (dt *Tree) Has(d Domain) bool

func (*Tree) Insert

func (dt *Tree) Insert(d string)

Jump to

Keyboard shortcuts

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