mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
25 lines
446 B
Protocol Buffer
25 lines
446 B
Protocol Buffer
syntax = "proto3";
|
|
package proto;
|
|
|
|
option go_package = "github.com/httprunner/hrp/plugin/proto";
|
|
|
|
message Empty {}
|
|
|
|
message GetNamesResponse {
|
|
repeated string names = 1;
|
|
}
|
|
|
|
message CallRequest {
|
|
string name = 1;
|
|
bytes args = 2; // []interface{}
|
|
}
|
|
|
|
message CallResponse {
|
|
bytes value = 1; // interface{}
|
|
}
|
|
|
|
service DebugTalk {
|
|
rpc GetNames(Empty) returns (GetNamesResponse);
|
|
rpc Call(CallRequest) returns (CallResponse);
|
|
}
|