Revert "Background updates for names in the Zone database"

This commit is contained in:
Alvaro committed 2015-05-26 12:56:44 +02:00
1 parent 5382037c4e
commit 21a1cd0469
19 files changed
+467 -2460

No files matched your search

+1 -4
View File
@@ -25,16 +25,13 @@ type ZoneLookup interface {
LookupInaddr(inaddr string) ([]ZoneRecord, error)
}
type ZoneLookupFunc func(target string) ([]ZoneRecord, error)
type ZoneObservable interface {
type ZoneObserver interface {
// Observe anything that affects a particular name in the zone
ObserveName(name string, observer ZoneRecordObserver) error
// Observe anything that affects a particular IP in the zone
ObserveInaddr(inaddr string, observer ZoneRecordObserver) error
}
type ZoneObserverFunc func(string, ZoneRecordObserver) error
type ZoneRecordObserver func()
/////////////////////////////////////////////////////////////