20
proto/nomicon.proto
Normal file
20
proto/nomicon.proto
Normal file
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
package nodata;
|
||||
|
||||
service NoData {
|
||||
rpc PublishEvent(PublishEventRequest) returns (PublishEventResponse) {}
|
||||
}
|
||||
|
||||
message PublishEventRequest {
|
||||
string topic = 1;
|
||||
google.protobuf.Timestamp published = 2;
|
||||
string key = 3;
|
||||
bytes value = 4;
|
||||
}
|
||||
|
||||
message PublishEventResponse {
|
||||
|
||||
}
|
Reference in New Issue
Block a user