micro-register-gossip/proto/gossip.proto

19 lines
427 B
Protocol Buffer
Raw Normal View History

2019-10-03 11:23:56 +03:00
syntax = "proto3";
package gossip;
option go_package = "github.com/unistack-org/micro-register-gossip/v3/proto;gossip";
2019-10-03 11:23:56 +03:00
// 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;
}