Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferPool = bufferPoolT{ // contains filtered or unexported fields }
Functions ¶
Types ¶
type AutoFlusher ¶
type AutoFlusher struct {
// contains filtered or unexported fields
}
func NewAutoFlusher ¶
func NewAutoFlusher(wf WriteFlusher, flushLatency time.Duration) *AutoFlusher
func NewBufIoAutoFlusher ¶
func NewBufIoAutoFlusher(wf BufIoWriteFlusher, flushLatency time.Duration) *AutoFlusher
func (*AutoFlusher) Stop ¶
func (af *AutoFlusher) Stop()
type BufIoWriteFlusher ¶
type ChunkedData ¶
type ChunkedData struct {
// contains filtered or unexported fields
}
func NewChunkedData ¶
func NewChunkedData(contentType string, data io.Reader) *ChunkedData
func (*ChunkedData) Render ¶
func (c *ChunkedData) Render(w http.ResponseWriter) error
func (*ChunkedData) WriteContentType ¶
func (c *ChunkedData) WriteContentType(w http.ResponseWriter)
type ExtractedFiles ¶
func ZipExtract ¶
func ZipExtract(zippedBytes []byte, wanted ...string) (ExtractedFiles, error)
func (ExtractedFiles) Dispose ¶
func (files ExtractedFiles) Dispose()
type TarGzWriter ¶
type TarGzWriter struct {
// contains filtered or unexported fields
}
func NewTarGzWriter ¶
func NewTarGzWriter(w io.Writer) *TarGzWriter
func (*TarGzWriter) Close ¶
func (w *TarGzWriter) Close() error
Click to show internal directories.
Click to hide internal directories.