Documentation ¶
Overview ¶
package drpcstream sends protobufs using the dprc wire protocol.
Index ¶
- type Stream
- func (s *Stream) CancelContext()
- func (s *Stream) Close() error
- func (s *Stream) CloseQueue()
- func (s *Stream) CloseSend() error
- func (s *Stream) Context() context.Context
- func (s *Stream) DoneSig() *drpcsignal.Signal
- func (s *Stream) ID() uint64
- func (s *Stream) MsgRecv(msg drpc.Message) error
- func (s *Stream) MsgSend(msg drpc.Message) error
- func (s *Stream) Queue() chan drpcwire.Packet
- func (s *Stream) QueueClosed() bool
- func (s *Stream) RawFlush() (err error)
- func (s *Stream) RawRecv() ([]byte, error)
- func (s *Stream) RawWrite(kind drpcwire.Kind, data []byte) error
- func (s *Stream) RemoteErrSig() *drpcsignal.Signal
- func (s *Stream) SendCancel() error
- func (s *Stream) SendError(err error) error
- func (s *Stream) SendSig() *drpcsignal.Signal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) CancelContext ¶
func (s *Stream) CancelContext()
func (*Stream) CloseQueue ¶
func (s *Stream) CloseQueue()
func (*Stream) DoneSig ¶
func (s *Stream) DoneSig() *drpcsignal.Signal
func (*Stream) QueueClosed ¶
func (*Stream) RemoteErrSig ¶
func (s *Stream) RemoteErrSig() *drpcsignal.Signal
func (*Stream) SendCancel ¶
func (*Stream) SendSig ¶
func (s *Stream) SendSig() *drpcsignal.Signal
Click to show internal directories.
Click to hide internal directories.