Documentation
¶
Overview ¶
Package plaingrpc allows to use gRPC code without having to regenerate any code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientStream ¶
type ClientStream struct {
// contains filtered or unexported fields
}
ClientStream implements the grpc.ClientStream TODO: Add final implementation to a lot of them. This is so basic for now.
func (*ClientStream) CloseSend ¶
func (cs *ClientStream) CloseSend() error
func (*ClientStream) Context ¶
func (cs *ClientStream) Context() context.Context
func (*ClientStream) RecvMsg ¶
func (cs *ClientStream) RecvMsg(m interface{}) error
func (*ClientStream) SendMsg ¶
func (cs *ClientStream) SendMsg(m interface{}) error
func (*ClientStream) Trailer ¶
func (cs *ClientStream) Trailer() metadata.MD
type Hijacker ¶
type Hijacker struct {
// contains filtered or unexported fields
}
ClientInterceptor hijacks the gRPC
func NewHijacker ¶
func (*Hijacker) StreamInterceptor ¶
func (h *Hijacker) StreamInterceptor(ctx context.Context, desc *grpc.StreamDesc, _ *grpc.ClientConn, method string, _ grpc.Streamer, _ ...grpc.CallOption) (grpc.ClientStream, error)
func (*Hijacker) UnaryInterceptor ¶
func (h *Hijacker) UnaryInterceptor(ctx context.Context, method string, req, res interface{}, _ *grpc.ClientConn, _ grpc.UnaryInvoker, _ ...grpc.CallOption) error
Click to show internal directories.
Click to hide internal directories.