mirror of
				https://github.com/go-micro/go-micro.git
				synced 2025-10-30 23:27:41 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			220 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			220 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| syntax = "proto3";
 | |
| 
 | |
| package broker;
 | |
| 
 | |
| service Broker {
 | |
| 	rpc Publish(Message) returns (Empty) {}
 | |
| }
 | |
| 
 | |
| message Message {
 | |
| 	string topic = 1;
 | |
| 	string id = 2;
 | |
| 	map<string,string> header = 3;
 | |
| 	bytes body = 4;
 | |
| }
 | |
| 
 | |
| message Empty {}
 |