initial files to support grpc server/client
This commit is contained in:
parent
9b1141a135
commit
0a445f2706
5 changed files with 97 additions and 0 deletions
18
daemon/proto/core.proto
Normal file
18
daemon/proto/core.proto
Normal file
|
@ -0,0 +1,18 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package core;
|
||||
|
||||
service CoreApi {
|
||||
rpc GetSessions (SessionsRequest) returns (SessionsResponse) {}
|
||||
}
|
||||
|
||||
message SessionsRequest {
|
||||
}
|
||||
|
||||
message SessionsResponse {
|
||||
repeated Session sessions = 1;
|
||||
}
|
||||
|
||||
message Session {
|
||||
int32 id = 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue