MCPcopy
hub / github.com/grpc/grpc-go / reset

Method reset

internal/binarylog/method_logger.go:46–48  ·  view source on GitHub ↗

reset is for testing only, and doesn't need to be thread safe.

()

Source from the content-addressed store, hash-verified

44
45// reset is for testing only, and doesn't need to be thread safe.
46func (g *callIDGenerator) reset() {
47 g.id = 0
48}
49
50var idGen callIDGenerator
51

Callers 1

TestLogMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestLogMethod · 0.36