update the gossiper

This commit is contained in:
Asim Aslam
2018-12-06 18:19:05 +00:00
parent 1ed2b589a2
commit b343420af6
6 changed files with 509 additions and 254 deletions

View File

@@ -8,12 +8,14 @@ message Update {
string id = 1;
// unix nano timestamp of update
uint64 timestamp = 2;
// time to live for entry
uint64 expires = 3;
// type of update; service
string type = 3;
string type = 4;
// what action is taken; add, del, put
string action = 4;
string action = 5;
// any other associated metadata about the data
map<string, string> metadata = 5;
map<string, string> metadata = 6;
// the payload data;
bytes data = 6;
bytes data = 7;
}