MCPcopy Index your code
hub / github.com/coder/coder / newFakeClient

Function newFakeClient

vpn/tunnel_internal_test.go:29–35  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T)

Source from the content-addressed store, hash-verified

27)
28
29func newFakeClient(ctx context.Context, t *testing.T) *fakeClient {
30 return &fakeClient{
31 t: t,
32 ctx: ctx,
33 ch: make(chan *fakeConn, 1),
34 }
35}
36
37type fakeClient struct {
38 t *testing.T

Calls

no outgoing calls

Tested by

no test coverage detected