MCPcopy Create free account
hub / github.com/dgrr/http2 / debugData

Function debugData

examples/proxy/main.go:206–208  ·  view source on GitHub ↗
(bf *bytes.Buffer, fr *fasthttp2.Data, symbol byte)

Source from the content-addressed store, hash-verified

204}
205
206func debugData(bf *bytes.Buffer, fr *fasthttp2.Data, symbol byte) {
207 fmt.Fprintf(bf, "%c Data: %s\n", symbol, fr.Data())
208}
209
210var (
211 hostArg = flag.String("host", "localhost:8081", "host")

Callers 1

debugFrameFunction · 0.85

Calls 1

DataMethod · 0.45

Tested by

no test coverage detected