index

package
v0.29.38 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 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 AnyIntIndex added in v0.29.31

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

func NewAnyIntIndex added in v0.29.31

func NewAnyIntIndex() *AnyIntIndex

func (*AnyIntIndex) Add added in v0.29.31

func (idx *AnyIntIndex) Add(key int, value interface{})

func (*AnyIntIndex) Clear added in v0.29.31

func (idx *AnyIntIndex) Clear()

func (*AnyIntIndex) Get added in v0.29.31

func (idx *AnyIntIndex) Get(key int) (value interface{}, ok bool)

func (*AnyIntIndex) Remove added in v0.29.31

func (idx *AnyIntIndex) Remove(key int)

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 interface{})

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 interface{}, ok bool)

func (*AnyStringIndex) Remove added in v0.29.31

func (idx *AnyStringIndex) Remove(key string)

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