mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:50:26 +08:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
		
			276 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			276 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| 
								 | 
							
								syntax = "proto3";
							 | 
						||
| 
								 | 
							
								option go_package = "./pb";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package pb;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message DBNode {
							 | 
						||
| 
								 | 
							
									int64 id = 1;
							 | 
						||
| 
								 | 
							
									string name = 2;
							 | 
						||
| 
								 | 
							
									string description = 3;
							 | 
						||
| 
								 | 
							
									bool isOn = 4;
							 | 
						||
| 
								 | 
							
									string host = 5;
							 | 
						||
| 
								 | 
							
									int32 port = 6;
							 | 
						||
| 
								 | 
							
									string database = 7;
							 | 
						||
| 
								 | 
							
									string username = 8;
							 | 
						||
| 
								 | 
							
									string password = 9;
							 | 
						||
| 
								 | 
							
									string charset = 10;
							 | 
						||
| 
								 | 
							
								}
							 |