Versions in this module Expand all Collapse all v1 v1.1.6 Jan 14, 2025 v1.1.5 Aug 23, 2024 Changes in this version + type Channel uint8 + type Magic [2]byte + type Packer interface + Next func(r io.Reader) (Channel, int64, error) + Recv func(io.Reader, io.Writer) (Channel, int64, error) + Send func(Channel, io.Writer, io.Reader, int64) error + Stream func(Channel, io.Writer, io.Reader, int) (int64, error) + func New(magic Magic, version Version) Packer + type Type uint8 + const TypeClose + const TypeData + type Version uint16