Versions in this module Expand all Collapse all v1 v1.11.1 Mar 21, 2024 Changes in this version + func Less(a *Elem, name string) int + type Color bool + type Elem struct + func (e *Elem) All() []dns.RR + func (e *Elem) Delete(rr dns.RR) + func (e *Elem) Empty() bool + func (e *Elem) Insert(rr dns.RR) + func (e *Elem) Name() string + func (e *Elem) Type(qtype uint16) []dns.RR + func (e *Elem) TypeForWildcard(qtype uint16, qname string) []dns.RR + func (e *Elem) Types() []uint16 + type Node struct + Color Color + Elem *Elem + Left *Node + Right *Node + type Tree struct + Count int + Root *Node + func (t *Tree) All() []*Elem + func (t *Tree) AuthWalk(fn func(*Elem, map[uint16][]dns.RR, bool) error) error + func (t *Tree) Delete(rr dns.RR) + func (t *Tree) DeleteMax() + func (t *Tree) DeleteMin() + func (t *Tree) Glue(nsrrs []dns.RR, do bool) []dns.RR + func (t *Tree) Insert(rr dns.RR) + func (t *Tree) Len() int + func (t *Tree) Max() *Elem + func (t *Tree) Min() *Elem + func (t *Tree) Next(qname string) (*Elem, bool) + func (t *Tree) Prev(qname string) (*Elem, bool) + func (t *Tree) Print() + func (t *Tree) Search(qname string) (*Elem, bool) + func (t *Tree) Walk(fn func(*Elem, map[uint16][]dns.RR) error) error