Documentation ¶
Index ¶
- Constants
- type Writer
- func (w *Writer) BindGinContext(c *gin.Context)
- func (w *Writer) Pusher() http.Pusher
- func (w *Writer) Reset() error
- func (w *Writer) Size() int
- func (w *Writer) Status() int
- func (w *Writer) Write(b []byte) (int, error)
- func (w *Writer) WriteHeaderNow()
- func (w *Writer) WriteString(s string) (int, error)
- func (w *Writer) WriteToHttp() (int, error)
- func (w *Writer) Written() bool
Constants ¶
View Source
const DefaultBodySize = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct { gin.ResponseWriter // contains filtered or unexported fields }
func GinContextUseNewWriter ¶
func NewWriter ¶
func NewWriter(writer gin.ResponseWriter) *Writer
func (*Writer) BindGinContext ¶
func (*Writer) WriteHeaderNow ¶
func (w *Writer) WriteHeaderNow()
func (*Writer) WriteToHttp ¶
Click to show internal directories.
Click to hide internal directories.