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