14 lines
		
	
	
		
			363 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			363 B
		
	
	
	
		
			Go
		
	
	
	
	
	
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"`
 | 
						|
}
 |