docs
This commit is contained in:
parent
57b0c21d09
commit
9ca30e3c7d
2
zone.go
2
zone.go
|
@ -198,7 +198,7 @@ func (z *Zone) Lock() { z.mutex.Lock() }
|
||||||
// Unlock unlocks the zone z for writing.
|
// Unlock unlocks the zone z for writing.
|
||||||
func (z *Zone) Unlock() { z.mutex.Unlock() }
|
func (z *Zone) Unlock() { z.mutex.Unlock() }
|
||||||
|
|
||||||
// Insert inserts an RR into the zone. There is no check for duplicate data, although
|
// Insert inserts the RR r into the zone. There is no check for duplicate data, although
|
||||||
// Remove will remove all duplicates.
|
// Remove will remove all duplicates.
|
||||||
func (z *Zone) Insert(r RR) error {
|
func (z *Zone) Insert(r RR) error {
|
||||||
if !z.isSubDomain(r.Header().Name) {
|
if !z.isSubDomain(r.Header().Name) {
|
||||||
|
|
Loading…
Reference in New Issue