backend/pkg/proto/brahma/murders/service.proto

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;
}