Versions in this module Expand all Collapse all v1 v1.0.0 Aug 10, 2017 Changes in this version + func Errorf(format string, a ...interface{}) error + func IsErr(err error) bool + type Discard struct + D conn.Duplex + func (d *Discard) Duplex() conn.Duplex + func (d *Discard) String() string + func (d *Discard) Tx(w, r []byte) error + type IO struct + R []byte + W []byte + type Playback struct + Count int + D conn.Duplex + DontPanic bool + Ops []IO + func (p *Playback) Close() error + func (p *Playback) Duplex() conn.Duplex + func (p *Playback) String() string + func (p *Playback) Tx(w, r []byte) error + type Record struct + Conn conn.Conn + Ops []IO + func (r *Record) Duplex() conn.Duplex + func (r *Record) String() string + func (r *Record) Tx(w, read []byte) error + type RecordRaw struct + W io.Writer + func (r *RecordRaw) Duplex() conn.Duplex + func (r *RecordRaw) String() string + func (r *RecordRaw) Tx(w, read []byte) error Incompatible versions in this module v3.1.0+incompatible Jul 30, 2018 v3.0.0+incompatible Jun 26, 2018 v2.3.0+incompatible May 27, 2018 v2.2.0+incompatible Apr 30, 2018 v2.1.0+incompatible Dec 15, 2017 v2.0.0+incompatible Aug 25, 2017