mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			20 lines
		
	
	
		
			405 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			405 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| 
								 | 
							
								syntax = "proto3";
							 | 
						||
| 
								 | 
							
								option go_package = "./pb";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package pb;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import "models/model_client_agent.proto";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Agent服务
							 | 
						||
| 
								 | 
							
								service ClientAgentService {
							 | 
						||
| 
								 | 
							
									// 查找所有Agent
							 | 
						||
| 
								 | 
							
									rpc findAllClientAgents(FindAllClientAgentsRequest) returns (FindAllClientAgentsResponse);
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// 查找所有Agent
							 | 
						||
| 
								 | 
							
								message FindAllClientAgentsRequest {
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								message FindAllClientAgentsResponse {
							 | 
						||
| 
								 | 
							
									repeated ClientAgent clientAgents = 1;
							 | 
						||
| 
								 | 
							
								}
							 |