1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-10-30 23:27:41 +02:00
Files
go-micro/plugins/broker/grpc/proto/broker.proto
2020-12-26 15:32:45 +00:00

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 {}