BulkResponseWriter

package
v0.1.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbFlag map[string]bool

Functions

func SetDbFlag

func SetDbFlag(d map[string]bool, f *os.File)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL