Documentation
¶
Overview ¶
The pipe package provides various tools to transform data
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipeExec ¶
PipeExec reads from stdin passing the data into stdin of the command. stdout is written to the provided writers. The content type is set as directed
type PipeHandler ¶
type PipeHandler struct {
ResponsePipe ResponsePipe
Handler http.Handler
}
PipeHandler passes the output of the wrapped Handler through the supplied ResponsePipe.
func (*PipeHandler) ServeHTTP ¶
func (h *PipeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.