Versions in this module Expand all Collapse all v0 v0.2.3 Jun 20, 2021 Changes in this version + type Stream struct + func NewStream(readBuffer, writeBuffer *bytes.Buffer) *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)