Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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) 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) Remove ¶
func (idx *StringIndex) Remove(key string)
Click to show internal directories.
Click to hide internal directories.