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

20 lines
442 B
Protocol Buffer

syntax = "proto3";
import "name.proto";
option go_package = "git.icechen.cn/monorepo/backend/pkg/proto/brahma/murder";
package murder;
service murder {
rpc Login (murder.HelloRequest) returns (HelloResponse) {}
rpc GetScripts(QueryCondition) returns(HelloResponse){}
}
message HelloResponse {
string token = 1;
}
message QueryCondition {
optional sint64 page = 1;
optional sint64 size = 2;
map<string, string> query_map = 3;
}