package
0.1.0
Repository: https://github.com/gchuf/tailon.git
Documentation: pkg.go.dev

# Functions

NewCmd creates a new Cmd for the given command name and arguments.
NewCmdOptions creates a new Cmd with options.
NewOutputBuffer creates a new output buffer.
NewOutputStream creates a new streaming output on the given channel.

# Constants

DEFAULT_LINE_BUFFER_SIZE is the default size of the OutputStream line buffer.
DEFAULT_STREAM_CHAN_SIZE is the default string channel size for a Cmd when Options.Streaming is true.

# Structs

Cmd represents an external command, similar to the Go built-in os/exec.Cmd.
ErrLineBufferOverflow is returned by OutputStream.Write when the internal line buffer is filled before a newline character is written to terminate a line.
Options represents customizations for NewCmdOptions.
OutputBuffer represents command output that is saved, line by line, in an unbounded buffer.
OutputStream represents real time, line by line output from a running Cmd.
Status represents the running status and consolidated return of a Cmd.