mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			495 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			495 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
syntax = "proto3";
 | 
						|
option go_package = "./pb";
 | 
						|
 | 
						|
package pb;
 | 
						|
 | 
						|
message APINode {
 | 
						|
	int64 id = 1;
 | 
						|
	bool isOn = 2;
 | 
						|
	int64 nodeClusterId = 3;
 | 
						|
	string uniqueId = 4;
 | 
						|
	string secret = 5;
 | 
						|
	string name = 6;
 | 
						|
	string description = 7;
 | 
						|
	bytes httpJSON = 8;
 | 
						|
	bytes httpsJSON = 9;
 | 
						|
	bool RestIsOn = 13;
 | 
						|
	bytes restHTTPJSON = 14;
 | 
						|
	bytes restHTTPSJSON = 15;
 | 
						|
	bytes accessAddrsJSON = 10;
 | 
						|
	repeated string accessAddrs = 11;
 | 
						|
	bytes statusJSON = 12;
 | 
						|
	bool isPrimary = 16;
 | 
						|
 | 
						|
	bool debug = 30;
 | 
						|
	string instanceCode = 31;
 | 
						|
} |