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

Method SetData

ping.go:43–45  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

41}
42
43func (p *Ping) SetData(b []byte) {
44 copy(p.data[:], b)
45}
46
47func (p *Ping) SetCurrentTime() {
48 ts := time.Now().UnixNano()

Callers 7

DeserializeMethod · 0.95
writeGoAwayMethod · 0.45
createStreamMethod · 0.45
WriteMethod · 0.45
ReadFromMethod · 0.45
writeDataMethod · 0.45
writeDataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected