Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DbFlag map[string]bool
Functions ¶
Types ¶
type BulkResponseWriter ¶
type BulkResponseWriter struct {
Status int // HTTP Status, 200, 206, 404 etc
Hdr http.Header // header
Buffer bytes.Buffer
FinalBody string
Done bool
// contains filtered or unexported fields
}
func NewTestResonseWriter ¶
func NewTestResonseWriter() *BulkResponseWriter
func (*BulkResponseWriter) DumpWhere ¶
func (bulk *BulkResponseWriter) DumpWhere()
func (*BulkResponseWriter) Flush ¶
func (bulk *BulkResponseWriter) Flush()
func (*BulkResponseWriter) Header ¶
func (bulk *BulkResponseWriter) Header() (hdr http.Header)
func (*BulkResponseWriter) Write ¶
func (bulk *BulkResponseWriter) Write(p []byte) (n int, err error)
func (*BulkResponseWriter) WriteHeader ¶
func (bulk *BulkResponseWriter) WriteHeader(status int)
Click to show internal directories.
Click to hide internal directories.