Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamMock ¶
type StreamMock struct {
// contains filtered or unexported fields
}
func NewStreamMock ¶
func NewStreamMock(codec grpc.Codec) *StreamMock
func (*StreamMock) Context ¶
func (s *StreamMock) Context() context.Context
func (*StreamMock) RecvMsg ¶
func (s *StreamMock) RecvMsg(m interface{}) error
func (*StreamMock) SendHeader ¶
func (s *StreamMock) SendHeader(metadata.MD) error
func (*StreamMock) SendMsg ¶
func (s *StreamMock) SendMsg(m interface{}) error
func (*StreamMock) SetTrailer ¶
func (s *StreamMock) SetTrailer(metadata.MD)
Click to show internal directories.
Click to hide internal directories.