Versions in this module Expand all Collapse all v1 v1.1.1 Oct 9, 2020 v1.1.0 Oct 6, 2020 Changes in this version + const StreamRpcContentType_V1 + const UnaryRpcContentType_V1 + func HandleMethod(svr interface{}, serviceName string, desc *grpc.MethodDesc, ...) http.HandlerFunc + func HandleServices(mux Mux, basePath string, reg grpchan.HandlerMap, ...) + func HandleStream(svr interface{}, serviceName string, desc *grpc.StreamDesc, ...) http.HandlerFunc + type Channel struct + BaseURL *url.URL + Transport http.RoundTripper + func (ch *Channel) Invoke(ctx context.Context, methodName string, req, resp interface{}, ...) error + func (ch *Channel) NewStream(ctx context.Context, desc *grpc.StreamDesc, methodName string, ...) (grpc.ClientStream, error) + type HttpTrailer struct + Code int32 + Details []*any.Any + Message string + Metadata map[string]*TrailerValues + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HttpTrailer) Descriptor() ([]byte, []int) + func (*HttpTrailer) ProtoMessage() + func (dst *HttpTrailer) XXX_Merge(src proto.Message) + func (m *HttpTrailer) GetCode() int32 + func (m *HttpTrailer) GetDetails() []*any.Any + func (m *HttpTrailer) GetMessage() string + func (m *HttpTrailer) GetMetadata() map[string]*TrailerValues + func (m *HttpTrailer) Reset() + func (m *HttpTrailer) String() string + func (m *HttpTrailer) XXX_DiscardUnknown() + func (m *HttpTrailer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HttpTrailer) XXX_Size() int + func (m *HttpTrailer) XXX_Unmarshal(b []byte) error + type Mux func(pattern string, handler func(http.ResponseWriter, *http.Request)) + type TrailerValues struct + Values []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TrailerValues) Descriptor() ([]byte, []int) + func (*TrailerValues) ProtoMessage() + func (dst *TrailerValues) XXX_Merge(src proto.Message) + func (m *TrailerValues) GetValues() []string + func (m *TrailerValues) Reset() + func (m *TrailerValues) String() string + func (m *TrailerValues) XXX_DiscardUnknown() + func (m *TrailerValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TrailerValues) XXX_Size() int + func (m *TrailerValues) XXX_Unmarshal(b []byte) error