github.com/weaveworks/common@v0.0.0-20230728070032-dd9e68f319d5/server/fake_server.proto (about)

     1  syntax = "proto3";
     2  
     3  package server;
     4  
     5  option go_package = "github.com/weaveworks/common/server";
     6  
     7  import "google/protobuf/empty.proto";
     8  
     9  service FakeServer {
    10      rpc Succeed(google.protobuf.Empty) returns (google.protobuf.Empty) {};
    11      rpc FailWithError(google.protobuf.Empty) returns (google.protobuf.Empty) {};
    12      rpc FailWithHTTPError(FailWithHTTPErrorRequest) returns (google.protobuf.Empty) {};
    13      rpc Sleep(google.protobuf.Empty) returns (google.protobuf.Empty) {};
    14      rpc StreamSleep(google.protobuf.Empty) returns (stream google.protobuf.Empty) {};
    15  }
    16  
    17  message FailWithHTTPErrorRequest {
    18    int32 Code = 1;
    19  }