add proto file for core conn
This commit is contained in:
parent
fcb59e4387
commit
17414823a3
27
api/proto/notifyer.proto
Normal file
27
api/proto/notifyer.proto
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package notifyer;
|
||||||
|
|
||||||
|
option go_package = "core/proto/notifyer";
|
||||||
|
|
||||||
|
message GetQuizzesRequest {
|
||||||
|
string account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetQuizzesResponse {
|
||||||
|
repeated int64 quiz_ids = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetStartedQuizzesRequest {
|
||||||
|
string account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GetStartedQuizzesResponse {
|
||||||
|
repeated int64 quiz_ids = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
service QuizService {
|
||||||
|
rpc GetQuizzes(GetQuizzesRequest) returns (GetQuizzesResponse) {}
|
||||||
|
|
||||||
|
rpc GetStartedQuizzes(GetStartedQuizzesRequest) returns (GetStartedQuizzesResponse) {}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user