mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:21:55 +08:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			167 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			167 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| 
								 | 
							
								syntax = "proto3";
							 | 
						||
| 
								 | 
							
								option go_package = "./pb";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package pb;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// API令牌
							 | 
						||
| 
								 | 
							
								message APIToken {
							 | 
						||
| 
								 | 
							
									int64 id = 1;
							 | 
						||
| 
								 | 
							
									string nodeId = 2;
							 | 
						||
| 
								 | 
							
									string secret = 3;
							 | 
						||
| 
								 | 
							
									string role = 4;
							 | 
						||
| 
								 | 
							
								}
							 |