Beispiel #1
0
Datei: tree.go Projekt: cznic/dns
// NewTree returns a newly created Tree.
func NewTree() *Tree {
	return (*Tree)(dns.NewTree())
}
Beispiel #2
0
// New returns a newly created Cache.
func New() *Cache {
	return &Cache{tree: dns.NewTree(), pending: map[string]bool{}}
}