update the gossiper
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user