You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
514 B

8 years ago
var protobuf = require('protocol-buffers')
var messages = protobuf(`
message Request {
required string command = 1;
optional bytes id = 2;
optional bytes target = 3;
optional bytes forwardRequest = 4;
optional bytes forwardResponse = 5;
optional bytes roundtripToken = 6;
optional bytes value = 7;
}
message Response {
optional bytes id = 1;
optional bytes nodes = 2;
optional bytes value = 3;
optional bytes roundtripToken = 4;
}
`)
module.exports = messages