suffixtree

package
v0.0.0-...-8e6527b Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainEntry

type DomainEntry struct {
	Rule string

	// dns typeA record
	A dns.A

	// dns typeAAAA record
	AAAA dns.AAAA

	// dns typePTR record
	PTR dns.PTR
}

DomainEntry stores domain info

type DomainTree

type DomainTree struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

DomainTree is ....

func NewDomainTree

func NewDomainTree(sep string) *DomainTree

NewDomainTree is ...

func (*DomainTree) Load

func (t *DomainTree) Load(k string) interface{}

Load is ...

func (*DomainTree) Store

func (t *DomainTree) Store(k string, v interface{})

Store is ...

func (*DomainTree) UnsafeLoad

func (t *DomainTree) UnsafeLoad(k string) interface{}

UnsafeLoad is ...

func (*DomainTree) UnsafeStore

func (t *DomainTree) UnsafeStore(k string, v interface{})

UnsafeStore is ...

Jump to

Keyboard shortcuts

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