Documentation ¶ Index ¶ func NewReader(pth string) *reader type Writer func NewWriter(pth string) *Writer func (w *Writer) AddDelay(d time.Duration) *Writer func (w *Writer) GetLines() []string func (w *Writer) Write(p []byte) (n int, err error) func (w *Writer) WriteLine(ln []byte) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewReader ¶ func NewReader(pth string) *reader Types ¶ type Writer ¶ added in v0.5.0 type Writer struct { *nop.Writer WriteDelay time.Duration // contains filtered or unexported fields } func NewWriter ¶ func NewWriter(pth string) *Writer func (*Writer) AddDelay ¶ added in v0.5.0 func (w *Writer) AddDelay(d time.Duration) *Writer func (*Writer) GetLines ¶ added in v0.5.0 func (w *Writer) GetLines() []string func (*Writer) Write ¶ added in v0.5.0 func (w *Writer) Write(p []byte) (n int, err error) func (*Writer) WriteLine ¶ added in v0.5.0 func (w *Writer) WriteLine(ln []byte) (err error) Source Files ¶ View all Source files reader.go writer.go Click to show internal directories. Click to hide internal directories.