grpc-gateway: github.com/grpc-ecosystem/grpc-gateway/internal Index | Files

package internal

import "github.com/grpc-ecosystem/grpc-gateway/internal"

Index

Package Files

stream_chunk.pb.go

type StreamError Uses

type StreamError struct {
    GrpcCode             int32      `protobuf:"varint,1,opt,name=grpc_code,json=grpcCode,proto3" json:"grpc_code,omitempty"`
    HttpCode             int32      `protobuf:"varint,2,opt,name=http_code,json=httpCode,proto3" json:"http_code,omitempty"`
    Message              string     `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
    HttpStatus           string     `protobuf:"bytes,4,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
    Details              []*any.Any `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

StreamError is a response type which is returned when streaming rpc returns an error.

func (*StreamError) Descriptor Uses

func (*StreamError) Descriptor() ([]byte, []int)

func (*StreamError) GetDetails Uses

func (m *StreamError) GetDetails() []*any.Any

func (*StreamError) GetGrpcCode Uses

func (m *StreamError) GetGrpcCode() int32

func (*StreamError) GetHttpCode Uses

func (m *StreamError) GetHttpCode() int32

func (*StreamError) GetHttpStatus Uses

func (m *StreamError) GetHttpStatus() string

func (*StreamError) GetMessage Uses

func (m *StreamError) GetMessage() string

func (*StreamError) ProtoMessage Uses

func (*StreamError) ProtoMessage()

func (*StreamError) Reset Uses

func (m *StreamError) Reset()

func (*StreamError) String Uses

func (m *StreamError) String() string

func (*StreamError) XXX_DiscardUnknown Uses

func (m *StreamError) XXX_DiscardUnknown()

func (*StreamError) XXX_Marshal Uses

func (m *StreamError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamError) XXX_Merge Uses

func (m *StreamError) XXX_Merge(src proto.Message)

func (*StreamError) XXX_Size Uses

func (m *StreamError) XXX_Size() int

func (*StreamError) XXX_Unmarshal Uses

func (m *StreamError) XXX_Unmarshal(b []byte) error

Package internal imports 4 packages (graph) and is imported by 6 packages. Updated 2019-10-05. Refresh now. Tools for package owners.