recorder

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2020 License: MIT Imports: 5 Imported by: 0

README

recorder

Record terminal stream

Build Status Go Report Card GoDoc GitHub license gocover.io

License

Pouch is licensed under the MIT License. See LICENSE for the full license text.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReader

func NewReader(ctx context.Context, r io.Reader) io.Reader

NewReader return io.Redaer that will be reproduce the stream with delay information.

func NewReaderWithCompress

func NewReaderWithCompress(ctx context.Context, r io.Reader) (io.ReadCloser, error)

NewReaderWithCompress return io.ReadCloser that will be save the stream with delay information. will compress and need to be closed manually.

func NewWriter

func NewWriter(ctx context.Context, w io.Writer) io.Writer

NewWriter return io.Writer that will be save the stream with delay information.

func NewWriterWithCompress

func NewWriterWithCompress(ctx context.Context, w io.Writer) io.WriteCloser

NewWriterWithCompress return io.WriteCloser that will be reproduce the stream with delay information. will compress and need to be closed manually.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL