MCPcopy
hub / github.com/valyala/fasthttp / Writer

Interface Writer

stackless/writer.go:15–20  ·  view source on GitHub ↗

Writer is an interface stackless writer must conform to. The interface contains common subset for Writers from compress/* packages.

Source from the content-addressed store, hash-verified

13//
14// The interface contains common subset for Writers from compress/* packages.
15type Writer interface {
16 Write(p []byte) (int, error)
17 Flush() error
18 Close() error
19 Reset(w io.Writer)
20}
21
22// NewWriterFunc must return new writer that will be wrapped into
23// stackless writer.

Callers 28

HijackMethod · 0.95
doMethod · 0.65
writerFuncFunction · 0.65
WriteMethod · 0.65
TestResponseHeaderCookieFunction · 0.95
TestRequestHeaderCookieFunction · 0.95

Implementers 1

writerstackless/writer.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…