Documentation ¶
Index ¶
- type MockServerStream
- func (mss *MockServerStream) Context() context.Context
- func (mss *MockServerStream) RecvMsg(m interface{}) error
- func (mss *MockServerStream) SendHeader(md metadata.MD) error
- func (mss *MockServerStream) SendMsg(m interface{}) error
- func (mss *MockServerStream) SetHeader(md metadata.MD) error
- func (mss *MockServerStream) SetTrailer(md metadata.MD)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServerStream ¶
MockServerStream defines a mock GRPC server stream implementation for use in stream tests
func (*MockServerStream) Context ¶
func (mss *MockServerStream) Context() context.Context
Context mocks the ServerStream Context function
func (*MockServerStream) RecvMsg ¶
func (mss *MockServerStream) RecvMsg(m interface{}) error
RecvMsg mocks the ServerStream RecvMsg function
func (*MockServerStream) SendHeader ¶
func (mss *MockServerStream) SendHeader(md metadata.MD) error
SendHeader mocks the ServerStream SendHeader function
func (*MockServerStream) SendMsg ¶
func (mss *MockServerStream) SendMsg(m interface{}) error
SendMsg mocks the ServerStream SendMsg function
func (*MockServerStream) SetHeader ¶
func (mss *MockServerStream) SetHeader(md metadata.MD) error
SetHeader mocks the ServerStream SetHeader function
func (*MockServerStream) SetTrailer ¶
func (mss *MockServerStream) SetTrailer(md metadata.MD)
SetTrailer mocks the ServerStream SetTrailer function
Click to show internal directories.
Click to hide internal directories.