From e47e7192c72dd9f5399e2154b41266cae7227441 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 9 May 2013 10:35:03 +0200 Subject: [PATCH] Update docs for NotifyFunc --- zone.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zone.go b/zone.go index 0522fc89..09a49bab 100644 --- a/zone.go +++ b/zone.go @@ -29,10 +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 == nil, update != nil -> update RR was added to the zone - // current != nil, update != nil -> update RR is changed from current to update - // current != nil, update == nil -> current RR is removed from the zone + // If not nil, this function is called after each modification, current is + // the current RR in the zone and update is the new one. NotifyFunc func(current, update RR) }