Documentation ¶
Index ¶
- func AssignToInterface(m proto.Message, i interface{}) error
- type BidirServerStreamerCore
- type ClientServerStreamerCore
- func (cs *ClientServerStreamerCore) CloseSend() error
- func (cs *ClientServerStreamerCore) Context() context.Context
- func (cs *ClientServerStreamerCore) Header() (metadata.MD, error)
- func (cs *ClientServerStreamerCore) Init(ctx context.Context, sendHandler func(interface{}) error)
- func (cs *ClientServerStreamerCore) RecvMsg(m interface{}) error
- func (cs *ClientServerStreamerCore) SendHeader(md metadata.MD) error
- func (cs *ClientServerStreamerCore) SendMsg(m interface{}) error
- func (cs *ClientServerStreamerCore) SetHeader(md metadata.MD) error
- func (cs *ClientServerStreamerCore) SetTrailer(md metadata.MD)
- func (cs *ClientServerStreamerCore) Trailer() metadata.MD
- type MuxService
- func (m *MuxService) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, ...) error
- func (m *MuxService) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, ...) (grpc.ClientStream, error)
- func (m *MuxService) Register(serviceName string, conn grpc.ClientConnInterface)
- type StreamerStubCore
- func (s *StreamerStubCore) Context() context.Context
- func (s *StreamerStubCore) RecvMsg(m interface{}) error
- func (s *StreamerStubCore) SendHeader(md metadata.MD) error
- func (s *StreamerStubCore) SendMsg(m interface{}) error
- func (s *StreamerStubCore) SetHeader(md metadata.MD) error
- func (s *StreamerStubCore) SetTrailer(md metadata.MD)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignToInterface ¶
Types ¶
type BidirServerStreamerCore ¶
type BidirServerStreamerCore struct { ClientServerStreamerCore ReqChan chan proto.Message // contains filtered or unexported fields }
func (*BidirServerStreamerCore) CloseSend ¶
func (bd *BidirServerStreamerCore) CloseSend() error
func (*BidirServerStreamerCore) Init ¶
func (bd *BidirServerStreamerCore) Init(ctx context.Context)
type ClientServerStreamerCore ¶
type ClientServerStreamerCore struct { Ctx context.Context SendHandler func(interface{}) error RespChan chan proto.Message // contains filtered or unexported fields }
func (*ClientServerStreamerCore) CloseSend ¶
func (cs *ClientServerStreamerCore) CloseSend() error
func (*ClientServerStreamerCore) Context ¶
func (cs *ClientServerStreamerCore) Context() context.Context
func (*ClientServerStreamerCore) Header ¶
func (cs *ClientServerStreamerCore) Header() (metadata.MD, error)
func (*ClientServerStreamerCore) Init ¶
func (cs *ClientServerStreamerCore) Init(ctx context.Context, sendHandler func(interface{}) error)
func (*ClientServerStreamerCore) RecvMsg ¶
func (cs *ClientServerStreamerCore) RecvMsg(m interface{}) error
func (*ClientServerStreamerCore) SendHeader ¶
func (cs *ClientServerStreamerCore) SendHeader(md metadata.MD) error
func (*ClientServerStreamerCore) SendMsg ¶
func (cs *ClientServerStreamerCore) SendMsg(m interface{}) error
func (*ClientServerStreamerCore) SetHeader ¶
func (cs *ClientServerStreamerCore) SetHeader(md metadata.MD) error
func (*ClientServerStreamerCore) SetTrailer ¶
func (cs *ClientServerStreamerCore) SetTrailer(md metadata.MD)
func (*ClientServerStreamerCore) Trailer ¶
func (cs *ClientServerStreamerCore) Trailer() metadata.MD
type MuxService ¶
type MuxService struct {
// contains filtered or unexported fields
}
func (*MuxService) Invoke ¶
func (m *MuxService) Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...grpc.CallOption) error
func (*MuxService) NewStream ¶
func (m *MuxService) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
func (*MuxService) Register ¶
func (m *MuxService) Register(serviceName string, conn grpc.ClientConnInterface)
type StreamerStubCore ¶
func (*StreamerStubCore) Context ¶
func (s *StreamerStubCore) Context() context.Context
func (*StreamerStubCore) RecvMsg ¶
func (s *StreamerStubCore) RecvMsg(m interface{}) error
func (*StreamerStubCore) SendHeader ¶
func (s *StreamerStubCore) SendHeader(md metadata.MD) error
func (*StreamerStubCore) SendMsg ¶
func (s *StreamerStubCore) SendMsg(m interface{}) error
func (*StreamerStubCore) SetTrailer ¶
func (s *StreamerStubCore) SetTrailer(md metadata.MD)
Click to show internal directories.
Click to hide internal directories.