index

package
v0.35.6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: GPL-3.0 Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnyStringIndex added in v0.29.31

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

func NewAnyStringIndex added in v0.29.31

func NewAnyStringIndex() *AnyStringIndex

func (*AnyStringIndex) Add added in v0.29.31

func (idx *AnyStringIndex) Add(key string, value any)

func (*AnyStringIndex) Clear added in v0.29.31

func (idx *AnyStringIndex) Clear()

func (*AnyStringIndex) Get added in v0.29.31

func (idx *AnyStringIndex) Get(key string) (value any, ok bool)

type DomainIndex

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

func NewDomainIndex

func NewDomainIndex() *DomainIndex

func (*DomainIndex) Add

func (di *DomainIndex) Add(domain string, id int)

func (*DomainIndex) Destroy

func (di *DomainIndex) Destroy()

func (*DomainIndex) Lookup

func (di *DomainIndex) Lookup(domain string) []int

func (*DomainIndex) Remove

func (di *DomainIndex) Remove(domain string, id int)

type DomainTree

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

func NewDomainTree

func NewDomainTree() *DomainTree

func (*DomainTree) CloneAdd

func (dt *DomainTree) CloneAdd(domain string, id int) *DomainTree

func (*DomainTree) CloneRemove

func (dt *DomainTree) CloneRemove(domain string, id int) *DomainTree

func (*DomainTree) Has

func (dt *DomainTree) Has(domain string, id int) bool

func (*DomainTree) Lookup

func (dt *DomainTree) Lookup(domain string) []int

type StringIDIndex

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

func NewStringIDIndex

func NewStringIDIndex(initialCapacity ...int) *StringIDIndex

func (*StringIDIndex) Add

func (idx *StringIDIndex) Add(key string, id int)

func (*StringIDIndex) Clear

func (idx *StringIDIndex) Clear()

func (*StringIDIndex) Get

func (idx *StringIDIndex) Get(key string) (id int, ok bool)

func (*StringIDIndex) Remove

func (idx *StringIDIndex) Remove(key string)

type StringIndex

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

func NewStringIndex

func NewStringIndex(initialCapacity ...int) *StringIndex

func (*StringIndex) Add

func (idx *StringIndex) Add(key, value string)

func (*StringIndex) Clear

func (idx *StringIndex) Clear()

func (*StringIndex) Get

func (idx *StringIndex) Get(key string) (value string, ok bool)

func (*StringIndex) Remove

func (idx *StringIndex) Remove(key string)

Jump to

Keyboard shortcuts

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