Skip to content

Commit

Permalink
Merge pull request elastic#374 from logan-moore/master
Browse files Browse the repository at this point in the history
Proto file for taser traffic
  • Loading branch information
MondayHopscotch committed Jul 16, 2015
2 parents ed0846b + 7901dbe commit c4bbd64
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions protofiles/heartthrob/taser.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
message TaserRequest {
enum RequestType {
INVALID = 0;
RESTART = 1;
}
optional RequestType Type = 1;
optional string RequestID = 2;
repeated string Services = 3;
}

message TaserReply {
enum ReplyType {
INVALID = 0;
SUCCESSFUL = 1;
ERROR = 2;
}

optional ReplyType Type = 1;
optional string RequestID = 2;
optional string ErrorMsg = 3;
repeated string SuccessfulServices = 4;
}

0 comments on commit c4bbd64

Please sign in to comment.