Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + var ErrTimeout = errors.New("timeout") + func DataErrReader(r io.Reader) io.Reader + func ErrReader(err error) io.Reader + func HalfReader(r io.Reader) io.Reader + func NewReadLogger(prefix string, r io.Reader) io.Reader + func NewWriteLogger(prefix string, w io.Writer) io.Writer + func OneByteReader(r io.Reader) io.Reader + func TestReader(r io.Reader, content []byte) error + func TimeoutReader(r io.Reader) io.Reader + func TruncateWriter(w io.Writer, n int64) io.Writer