Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
func (HandlerFunc) ServeHTTP ¶
func (h HandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)
type StreamID ¶
type StreamID string
StreamID identifies a pair of standard output and error channels used for streaming.
type Streamer ¶
type Streamer struct {
// contains filtered or unexported fields
}
func New ¶
New creates a Streamer with the specified grace time which limits the duration of memory consumption by a stopped stream.
func (*Streamer) ServeStderr ¶
StreamStderr streams to the specified writer from the standard error channel of the specified pair of channels.
func (*Streamer) ServeStdout ¶
StreamStdout streams to the specified writer from the standard output channel of the specified pair of channels.
Click to show internal directories.
Click to hide internal directories.