mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* update dskit Signed-off-by: Andreas Gerstmayr <[email protected]> * update distributor test Signed-off-by: Andreas Gerstmayr <[email protected]> * update changelog Signed-off-by: Andreas Gerstmayr <[email protected]> * run go mod tidy Signed-off-by: Andreas Gerstmayr <[email protected]> * run go mod tidy also in subfolders Signed-off-by: Andreas Gerstmayr <[email protected]> --------- Signed-off-by: Andreas Gerstmayr <[email protected]>
23 lines
702 B
Protocol Buffer
23 lines
702 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package server;
|
|
|
|
import "google/protobuf/empty.proto";
|
|
|
|
service FakeServer {
|
|
rpc Succeed(google.protobuf.Empty) returns (google.protobuf.Empty) {};
|
|
rpc FailWithError(google.protobuf.Empty) returns (google.protobuf.Empty) {};
|
|
rpc FailWithHTTPError(FailWithHTTPErrorRequest) returns (google.protobuf.Empty) {};
|
|
rpc Sleep(google.protobuf.Empty) returns (google.protobuf.Empty) {};
|
|
rpc StreamSleep(google.protobuf.Empty) returns (stream google.protobuf.Empty) {};
|
|
rpc ReturnProxyProtoCallerIP(google.protobuf.Empty) returns (ProxyProtoIPResponse) {};
|
|
}
|
|
|
|
message ProxyProtoIPResponse {
|
|
string IP = 1;
|
|
}
|
|
|
|
message FailWithHTTPErrorRequest {
|
|
int32 Code = 1;
|
|
}
|