Add gossip registry

This commit is contained in:
Asim Aslam
2019-10-03 09:23:56 +01:00
committed by Vasiliy Tolstov
parent b06c7aa81f
commit 2d06c9abe3
8 changed files with 1374 additions and 0 deletions

17
proto/gossip.proto Normal file
View File

@@ -0,0 +1,17 @@
syntax = "proto3";
package gossip;
// Update is the message broadcast
message Update {
// time to live for entry
uint64 expires = 1;
// type of update
int32 type = 2;
// what action is taken
int32 action = 3;
// any other associated metadata about the data
map<string, string> metadata = 6;
// the payload data;
bytes data = 7;
}