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

32 lines
587 B
Protocol Buffer

syntax = "proto3";
package cluster;
import "command/command.proto";
option go_package = "github.com/rqlite/rqlite/cluster";
message Address {
string url = 1;
}
message Command {
enum Type {
COMMAND_TYPE_UNKNOWN = 0;
COMMAND_TYPE_GET_NODE_API_URL = 1;
COMMAND_TYPE_EXECUTE = 2;
COMMAND_TYPE_QUERY = 3;
}
Type type = 1;
bytes sub_command = 2;
}
message CommandExecuteResponse {
string error = 1;
repeated command.ExecuteResult results = 2;
}
message CommandQueryResponse {
string error = 1;
repeated command.QueryRows rows = 2;
3 years ago
}