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

Struct mockStatsHandler

internal/transport/handler_server_test.go:250–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250type mockStatsHandler struct {
251 rpcStatsCh chan stats.RPCStats
252}
253
254func (h *mockStatsHandler) TagRPC(ctx context.Context, _ *stats.RPCTagInfo) context.Context {
255 return ctx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected