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

Struct fakePingerCloser

coderd/workspaceagentsrpc_internal_test.go:418–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418type fakePingerCloser struct {
419 sync.Mutex
420 pings []time.Time
421 code websocket.StatusCode
422 reason string
423 closed bool
424}
425
426func (f *fakePingerCloser) Ping(context.Context) error {
427 f.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected