Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pipe ¶
type Pipe interface {
Configure(input io.Reader, output io.Writer, doneHandler func(), errorHandler func(error)) io.Reader
Start()
}
Pipe stream data from input to output.
type ProcessConfiguration ¶
ProcessConfiguration is the process execute by catp.
type ProcessPipe ¶
type ProcessPipe struct {
SimplePipe
ProcessConfiguration
}
func NewProcessPipe ¶
func NewProcessPipe(configuration ProcessConfiguration) *ProcessPipe
func (*ProcessPipe) Start ¶
func (p *ProcessPipe) Start()
type SimplePipe ¶
type SimplePipe struct {
// contains filtered or unexported fields
}
func (*SimplePipe) Start ¶
func (p *SimplePipe) Start()
Start a goroutine to copy data from input to output.
Click to show internal directories.
Click to hide internal directories.