nsupdate
This commit is contained in:
13
internal/nsupdate/struct-nsupdate.go
Normal file
13
internal/nsupdate/struct-nsupdate.go
Normal file
@ -0,0 +1,13 @@
|
||||
package nsupdate
|
||||
|
||||
type NsUpdateStruct struct {
|
||||
Key KeyStruct `json:"key" yaml:"key"`
|
||||
Server string `json:"server" yaml:"server"`
|
||||
Port int `json:"port" yaml:"port"`
|
||||
Zone string `json:"zone" yaml:"zone"`
|
||||
}
|
||||
|
||||
type KeyStruct struct {
|
||||
Algorithm string `json:"algorithm" yaml:"algorithm"`
|
||||
Secret string `json:"Secret" yaml:"secret"`
|
||||
}
|
Reference in New Issue
Block a user