gofmt
This commit is contained in:
parent
ddcd9fb960
commit
b22e2787fa
4
zone.go
4
zone.go
|
@ -8,12 +8,12 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Zone represents a DNS zone.
|
// Zone represents a DNS zone. The structure is safe for concurrent access.
|
||||||
type Zone struct {
|
type Zone struct {
|
||||||
Origin string // Origin of the zone
|
Origin string // Origin of the zone
|
||||||
Wildcard int // Whenever we see a wildcard name, this is incremented
|
Wildcard int // Whenever we see a wildcard name, this is incremented
|
||||||
*radix.Radix // Zone data
|
*radix.Radix // Zone data
|
||||||
mutex *sync.RWMutex
|
mutex *sync.RWMutex
|
||||||
}
|
}
|
||||||
|
|
||||||
// ZoneData holds all the RRs having their owner name equal to Name.
|
// ZoneData holds all the RRs having their owner name equal to Name.
|
||||||
|
|
Loading…
Reference in New Issue