Documentation ¶
Index ¶
- type Stream
- func (s *Stream) Close() error
- func (s *Stream) FullClose() error
- func (s *Stream) Headers() p2p.Headers
- func (s *Stream) Read(p []byte) (n int, err error)
- func (s *Stream) Reset() error
- func (s *Stream) SetReadErr(err error, checkmark int)
- func (s *Stream) SetWriteErr(err error, checkmark int)
- func (s *Stream) Write(p []byte) (n int, err error)
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) SetReadErr ¶
func (*Stream) SetWriteErr ¶
Click to show internal directories.
Click to hide internal directories.