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

Function newClientTester

test/clienttester.go:32–40  ·  view source on GitHub ↗
(t *testing.T, conn net.Conn)

Source from the content-addressed store, hash-verified

30)
31
32func newClientTester(t *testing.T, conn net.Conn) *clientTester {
33 ct := &clientTester{
34 t: t,
35 conn: conn,
36 }
37 ct.fr = http2.NewFramer(conn, conn)
38 ct.greet()
39 return ct
40}
41
42type clientTester struct {
43 t *testing.T

Calls 1

greetMethod · 0.95