backend/pkg/proto/brahma/murder/hello.proto

20 lines
442 B
Protocol Buffer
Raw Normal View History

2022-01-14 19:55:07 +08:00
syntax = "proto3";
2022-01-19 19:39:04 +08:00
import "name.proto";
2022-01-14 19:55:07 +08:00
option go_package = "git.icechen.cn/monorepo/backend/pkg/proto/brahma/murder";
2022-01-19 19:39:04 +08:00
package murder;
2022-01-14 19:55:07 +08:00
2022-01-19 19:39:04 +08:00
service murder {
rpc Login (murder.HelloRequest) returns (HelloResponse) {}
rpc GetScripts(QueryCondition) returns(HelloResponse){}
2022-01-14 19:55:07 +08:00
}
message HelloResponse {
string token = 1;
2022-01-19 19:39:04 +08:00
}
message QueryCondition {
optional sint64 page = 1;
optional sint64 size = 2;
map<string, string> query_map = 3;
}