Documentation ¶
Index ¶
- func DummyContextWithServerTransportStream() context.Context
- type MockServerStream
- func (m *MockServerStream) Context() context.Context
- func (*MockServerStream) Method() string
- func (*MockServerStream) RecvMsg(m interface{}) error
- func (*MockServerStream) SendHeader(metadata.MD) error
- func (*MockServerStream) SendMsg(m interface{}) error
- func (*MockServerStream) SetHeader(metadata.MD) error
- func (*MockServerStream) SetTrailer(metadata.MD)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockServerStream ¶
type MockServerStream struct {
// contains filtered or unexported fields
}
func NewMockServerStream ¶
func NewMockServerStream(ctx context.Context) *MockServerStream
func (*MockServerStream) Context ¶
func (m *MockServerStream) Context() context.Context
func (*MockServerStream) Method ¶
func (*MockServerStream) Method() string
func (*MockServerStream) RecvMsg ¶
func (*MockServerStream) RecvMsg(m interface{}) error
func (*MockServerStream) SendHeader ¶
func (*MockServerStream) SendHeader(metadata.MD) error
func (*MockServerStream) SendMsg ¶
func (*MockServerStream) SendMsg(m interface{}) error
func (*MockServerStream) SetTrailer ¶
func (*MockServerStream) SetTrailer(metadata.MD)
Click to show internal directories.
Click to hide internal directories.