mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 16:00:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			253 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			253 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| 
								 | 
							
								syntax = "proto3";
							 | 
						||
| 
								 | 
							
								option go_package = "./pb";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package pb;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message APINode {
							 | 
						||
| 
								 | 
							
									int64 id = 1;
							 | 
						||
| 
								 | 
							
									bool isOn = 2;
							 | 
						||
| 
								 | 
							
									int64 clusterId = 3;
							 | 
						||
| 
								 | 
							
									string uniqueId = 4;
							 | 
						||
| 
								 | 
							
									string secret = 5;
							 | 
						||
| 
								 | 
							
									string name = 6;
							 | 
						||
| 
								 | 
							
									string description = 7;
							 | 
						||
| 
								 | 
							
									string host = 8;
							 | 
						||
| 
								 | 
							
									int32 port = 9;
							 | 
						||
| 
								 | 
							
								}
							 |