Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer is an io.Writer that buffers exec.Cmd output. Writes contain timestamp and source metadata so the output can be replayed.
func RunBuffered ¶
RunBuffered runs the provided exec.Cmd with buffered stdout/stderr streams.
func (*Buffer) Close ¶
func (e *Buffer) Close()
Close waits for all in-flight writes to finish, then sorts them by timestamp.
type BufferWriter ¶
type BufferWriter struct {
*Buffer
// contains filtered or unexported fields
}
BufferWriter handles writes to a given source.
Click to show internal directories.
Click to hide internal directories.