better doc for the notifyfunc
This commit is contained in:
parent
e47e7192c7
commit
bb6de9dc2c
4
zone.go
4
zone.go
|
@ -29,8 +29,8 @@ type Zone struct {
|
|||
// 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.
|
||||
Security int
|
||||
// If not nil, this function is called after each modification, current is
|
||||
// the current RR in the zone and update is the new one.
|
||||
// If not nil, this function is called after each modification, with the current
|
||||
// RR and the updated one.
|
||||
NotifyFunc func(current, update RR)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue