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

Function newFakeConn

vpn/tunnel_internal_test.go:54–60  ·  view source on GitHub ↗
(state tailnet.WorkspaceUpdate, hsTime time.Time)

Source from the content-addressed store, hash-verified

52}
53
54func newFakeConn(state tailnet.WorkspaceUpdate, hsTime time.Time) *fakeConn {
55 return &fakeConn{
56 closed: make(chan struct{}),
57 state: state,
58 hsTime: hsTime,
59 }
60}
61
62func (f *fakeConn) withManualPings() *fakeConn {
63 f.returnPing = make(chan struct{})

Calls

no outgoing calls

Tested by

no test coverage detected