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

16 lines
408 B
Protocol Buffer
Raw Normal View History

2022-01-19 19:39:04 +08:00
syntax = "proto3";
import "script/script.proto";
2022-01-23 14:48:44 +08:00
import "tag/tag.proto";
2022-01-19 19:39:04 +08:00
option go_package = "git.icechen.cn/monorepo/backend/pkg/proto/brahma/murders";
package murder;
service murders{
rpc GetScripts(QueryCondition) returns(script.Scripts){}
2022-01-23 14:48:44 +08:00
rpc GetTags(QueryCondition) returns(tag.Tag){}
2022-01-19 19:39:04 +08:00
}
message QueryCondition {
optional sint64 page = 1;
optional sint64 size = 2;
2022-01-23 14:48:44 +08:00
optional string query =3;
2022-01-19 19:39:04 +08:00
}