Skip to content

Commit

Permalink
adds a client protocol to schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
montekki committed Nov 8, 2024
1 parent 5e99c49 commit 6c22c41
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions proto/lagrange.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,20 @@ message WorkerDone {
string worker_error = 2;
}
}


message SubmitTaskRequest {
oneof request {
string task = 1;
}
}

message SubmitTaskResponse {
oneof reply {
string reply_string = 1;
}
}

service ClientsService {
rpc ClientToGw(stream SubmitTaskRequest) returns (stream SubmitTaskResponse) {}
}

0 comments on commit 6c22c41

Please sign in to comment.