Versions in this module Expand all Collapse all v0 v0.3.7 Aug 2, 2015 v0.3.6 Jul 30, 2015 Changes in this version + const Close + const Initiator + const NewStream + const Receiver + const Unknown + func DecodeVarint(r *bufio.Reader) (x uint64, n int, err error) + func EncodeVarint(x uint64) []byte + type Multiplex struct + func NewMultiplex(con io.ReadWriteCloser, initiator bool) *Multiplex + func (m *Multiplex) Accept() (*Stream, error) + func (mp *Multiplex) Close() error + func (mp *Multiplex) IsClosed() bool + func (mp *Multiplex) NewNamedStream(name string) *Stream + func (mp *Multiplex) NewStream() *Stream + type Stream struct + func (s *Stream) Close() error + func (s *Stream) Name() string + func (s *Stream) Read(b []byte) (int, error) + func (s *Stream) Write(b []byte) (int, error)