summaryrefslogtreecommitdiff
path: root/bind
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-08-22 08:06:32 -0700
committerMike Crute <mike@crute.us>2023-08-22 08:06:41 -0700
commit6a36dda54e596262d9079bc303e094453e9b6558 (patch)
treeaf531b824298c9b9da5011f14606a243738a3914 /bind
parentabee373da2adedf9785b422f274ca82fcbe9210e (diff)
downloadgo_ddns_manager-6a36dda54e596262d9079bc303e094453e9b6558.tar.bz2
go_ddns_manager-6a36dda54e596262d9079bc303e094453e9b6558.tar.xz
go_ddns_manager-6a36dda54e596262d9079bc303e094453e9b6558.zip
Generated types rely on interface
Diffstat (limited to 'bind')
-rw-r--r--bind/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bind/config.go b/bind/config.go
index 1d4a81a..62c1324 100644
--- a/bind/config.go
+++ b/bind/config.go
@@ -119,6 +119,10 @@ type Zone struct {
119 config *BINDConfig 119 config *BINDConfig
120} 120}
121 121
122func (z *Zone) ZoneName() string {
123 return z.Name
124}
125
122func (z *Zone) AddKey(key string) { 126func (z *Zone) AddKey(key string) {
123 z.keys = append(z.keys, key) 127 z.keys = append(z.keys, key)
124} 128}