mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			507 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			507 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package nodeconfigs
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type NodeIPAddr struct {
							 | 
						||
| 
								 | 
							
									Id         int64                       `json:"id"`
							 | 
						||
| 
								 | 
							
									Name       string                      `json:"name"`
							 | 
						||
| 
								 | 
							
									Thresholds []*NodeValueThresholdConfig `json:"thresholds"`
							 | 
						||
| 
								 | 
							
									IP         string                      `json:"ip"`
							 | 
						||
| 
								 | 
							
									IsOn       bool                        `json:"isOn"`
							 | 
						||
| 
								 | 
							
									IsUp       bool                        `json:"isUp"`
							 | 
						||
| 
								 | 
							
									CanAccess  bool                        `json:"canAccess"`
							 | 
						||
| 
								 | 
							
								}
							 |