backend/pkg/proto/brahma/murders/service.proto
liuhaotian b3c49eaa34
All checks were successful
continuous-integration/drone/push Build is passing
feat : script service
2022-01-23 14:48:44 +08:00

16 lines
408 B
Protocol Buffer

syntax = "proto3";
import "script/script.proto";
import "tag/tag.proto";
option go_package = "git.icechen.cn/monorepo/backend/pkg/proto/brahma/murders";
package murder;
service murders{
rpc GetScripts(QueryCondition) returns(script.Scripts){}
rpc GetTags(QueryCondition) returns(tag.Tag){}
}
message QueryCondition {
optional sint64 page = 1;
optional sint64 size = 2;
optional string query =3;
}