MCPcopy Index your code
hub / github.com/felixge/httpsnoop / Write

Method Write

wrap_generated.go:1329–1331  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

1327 (*rwState)(w).doWriteHeader(code)
1328}
1329func (w *rw0) Write(b []byte) (int, error) {
1330 return (*rwState)(w).doWrite(b)
1331}
1332
1333// combination 2/512: http.ResponseWriter, io.StringWriter
1334type rw1 rwState

Callers 5

WrapFunction · 0.45
doWriteMethod · 0.45
TestCaptureMetricsFunction · 0.45

Calls 1

doWriteMethod · 0.80

Tested by 3

TestCaptureMetricsFunction · 0.36