Versions in this module Expand all Collapse all v1 v1.0.1 Jun 26, 2023 Changes in this version + func New(opts ...Option) gin.HandlerFunc + type BufferPool struct + func (p *BufferPool) Get() *bytes.Buffer + func (p *BufferPool) Put(buf *bytes.Buffer) + type Option func(*Timeout) + func WithHandler(h gin.HandlerFunc) Option + func WithResponse(h gin.HandlerFunc) Option + func WithTimeout(timeout time.Duration) Option + type Timeout struct + type Writer struct + func NewWriter(w gin.ResponseWriter, buf *bytes.Buffer) *Writer + func (w *Writer) FreeBuffer() + func (w *Writer) Header() http.Header + func (w *Writer) Status() int + func (w *Writer) Write(data []byte) (int, error) + func (w *Writer) WriteHeader(code int) + func (w *Writer) WriteHeaderNow() + func (w *Writer) WriteString(s string) (int, error)