diff options
author | Mike Crute <mike@crute.us> | 2023-08-22 08:06:32 -0700 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2023-08-22 08:06:41 -0700 |
commit | 6a36dda54e596262d9079bc303e094453e9b6558 (patch) | |
tree | af531b824298c9b9da5011f14606a243738a3914 /bind | |
parent | abee373da2adedf9785b422f274ca82fcbe9210e (diff) | |
download | go_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.go | 4 |
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 | ||
122 | func (z *Zone) ZoneName() string { | ||
123 | return z.Name | ||
124 | } | ||
125 | |||
122 | func (z *Zone) AddKey(key string) { | 126 | func (z *Zone) AddKey(key string) { |
123 | z.keys = append(z.keys, key) | 127 | z.keys = append(z.keys, key) |
124 | } | 128 | } |