Versions in this module Expand all Collapse all v0 v0.3.5 May 1, 2024 v0.3.4 Mar 11, 2024 Changes in this version + var ErrSkipResolver = errors.New("skip resolve domain") + var SkipResolver = netapi.ErrorResolver(func(domain string) error { ... }) + type Trie struct + func NewTrie[T any]() *Trie[T] + func (x *Trie[T]) Clear() error + func (x *Trie[T]) Insert(str string, mark T) + func (x *Trie[T]) Remove(str string) + func (x *Trie[T]) Search(ctx context.Context, addr netapi.Address) (mark T, ok bool) + func (x *Trie[T]) SearchWithDefault(ctx context.Context, addr netapi.Address, defaultT T) T