Update docs for NotifyFunc
This commit is contained in:
parent
d18bb64db1
commit
e47e7192c7
6
zone.go
6
zone.go
|
@ -29,10 +29,8 @@ type Zone struct {
|
||||||
// The zone's security status, supported values are TypeNone for no DNSSEC,
|
// The zone's security status, supported values are TypeNone for no DNSSEC,
|
||||||
// TypeNSEC for an NSEC type zone and TypeNSEC3 for an NSEC3 signed zone.
|
// TypeNSEC for an NSEC type zone and TypeNSEC3 for an NSEC3 signed zone.
|
||||||
Security int
|
Security int
|
||||||
// If not nil, this function is called after each modification
|
// If not nil, this function is called after each modification, current is
|
||||||
// current == nil, update != nil -> update RR was added to the zone
|
// the current RR in the zone and update is the new one.
|
||||||
// current != nil, update != nil -> update RR is changed from current to update
|
|
||||||
// current != nil, update == nil -> current RR is removed from the zone
|
|
||||||
NotifyFunc func(current, update RR)
|
NotifyFunc func(current, update RR)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue