Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientStream ¶
func NewClientStream(r io.ReadCloser) stream.ClientStream
Types ¶
type ClientStream ¶
type ClientStream struct {
// contains filtered or unexported fields
}
func (*ClientStream) Close ¶
func (s *ClientStream) Close() error
type ServerStream ¶
type ServerStream struct {
// contains filtered or unexported fields
}
The guy that actually writes things out
func (*ServerStream) Close ¶
func (s *ServerStream) Close() error
Close will close the server stream, disallowing all future sends
func (*ServerStream) SendError ¶
func (s *ServerStream) SendError(err error) error
SendError will send the error err down the stream or return an error on its own
func (*ServerStream) SendResult ¶
func (s *ServerStream) SendResult(r record.Record) error
SendResult will send the result r or return an error.
Click to show internal directories.
Click to hide internal directories.