Versions in this module Expand all Collapse all v0 v0.0.36 Jul 17, 2024 Changes in this version + var ErrTimeout = errors.New("Timeout") + type FrozenReader struct + func (reader FrozenReader) Read(p []byte) (n int, err error) + type KeyPressReader struct + BufferSize int + Once *sync.Once + Raw bool + Timeout time.Duration + func (reader *KeyPressReader) Start() error + func (reader *KeyPressReader) Stop() error + func (reader KeyPressReader) Read(p []byte) (n int, err error) + type ReusableReadCloser struct + func NewReusableReadCloser(raw interface{}) (*ReusableReadCloser, error) + func (r ReusableReadCloser) Close() error + func (r ReusableReadCloser) Read(p []byte) (int, error) + type TimeoutReader struct + Reader io.Reader + Timeout time.Duration + func (reader TimeoutReader) Read(p []byte) (n int, err error)