Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainTree ¶
type DomainTree[T any] struct { // contains filtered or unexported fields }
func NewDomainTree ¶
func NewDomainTree[T any]() *DomainTree[T]
func (*DomainTree[T]) Add ¶
func (t *DomainTree[T]) Add(k string, value T)
func (*DomainTree[T]) Database ¶
func (tree *DomainTree[T]) Database() iter.Seq[struct { Value T Domain string }]
func (*DomainTree[T]) Lookup ¶
func (t *DomainTree[T]) Lookup(k string) (T, bool)
func (*DomainTree[T]) Print ¶
func (t *DomainTree[T]) Print()
func (*DomainTree[T]) Remove ¶
func (t *DomainTree[T]) Remove(k string) bool
func (*DomainTree[T]) Reset ¶
func (t *DomainTree[T]) Reset()
Click to show internal directories.
Click to hide internal directories.