Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultSize = 32 * 1024
Variables ¶
View Source
var Default = New(DefaultSize)
Functions ¶
func WithWriteTo ¶
func WithWriteTo(src io.ReadCloser) io.ReadCloser
func WrapTransport ¶
func WrapTransport(base http.RoundTripper) http.RoundTripper
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) WithWriteTo ¶
func (p *Pool) WithWriteTo(src io.ReadCloser) io.ReadCloser
func (*Pool) WrapTransport ¶
func (p *Pool) WrapTransport(base http.RoundTripper) http.RoundTripper
Click to show internal directories.
Click to hide internal directories.