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

Method getCurrentStreamID

test/channelz_test.go:753–757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

751}
752
753func (t *testServiceClientWrapper) getCurrentStreamID() uint32 {
754 t.mu.RLock()
755 defer t.mu.RUnlock()
756 return uint32(2*t.streamsCreated - 1)
757}
758
759func (t *testServiceClientWrapper) EmptyCall(ctx context.Context, in *testpb.Empty, opts ...grpc.CallOption) (*testpb.Empty, error) {
760 t.mu.Lock()

Calls

no outgoing calls

Tested by

no test coverage detected