1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-25 13:32:22 +00:00
2018-07-08 17:52:33 +08:00

16 lines
368 B
Protocol Buffer
Executable File

syntax = "proto3";
package grpc.gateway.runtime;
option go_package = "internal";
import "google/protobuf/any.proto";
// StreamError is a response type which is returned when
// streaming rpc returns an error.
message StreamError {
int32 grpc_code = 1;
int32 http_code = 2;
string message = 3;
string http_status = 4;
repeated google.protobuf.Any details = 5;
}