MCPcopy Create free account
hub / github.com/corestoreio/pkg / Tee

Method Tee

net/responseproxy/tee_writer.go:25–25  ·  view source on GitHub ↗

Tee causes the response body to be written to the given io.Writer in addition to proxying the writes through. Only one io.Writer can be tee'd to at once: setting a second one will overwrite the first. Writes will be sent to the proxy before being written to this io.Writer. It is illegal for the tee'

(io.Writer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

writeTrailerMethod · 0.65
TestWrapTeeFunction · 0.65

Implementers 1

basicWriternet/responseproxy/tee_writer.go

Calls

no outgoing calls

Tested by 1

TestWrapTeeFunction · 0.52