gossip registry

This commit is contained in:
Asim Aslam
2018-12-04 16:41:40 +00:00
parent d0d8db7c45
commit 57dcba666e
9 changed files with 775 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
syntax = "proto3";
package gossip;
// Update is the message broadcast
message Update {
// unique id of update
string id = 1;
// unix nano timestamp of update
uint64 timestamp = 2;
// type of update; service
string type = 3;
// what action is taken; add, del, put
string action = 4;
// any other associated metadata about the data
map<string, string> metadata = 5;
// the payload data;
bytes data = 6;
}