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

Method Ping

coderd/database/db.go:29–29  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

27 wrapper
28
29 Ping(ctx context.Context) (time.Duration, error)
30 PGLocks(ctx context.Context) (PGLocks, error)
31 InTx(func(Store) error, *TxOptions) error
32}

Callers 11

pingWithTimeoutFunction · 0.65
PingMethod · 0.65
initDefaultConnectionFunction · 0.65
OpenContainerizedFunction · 0.65
TestOpenFunction · 0.65
TestOpen_ValidDBFromFunction · 0.65
PingMethod · 0.65
TestPingFunction · 0.65
RunMethod · 0.65
TestDatabaseFunction · 0.65

Calls

no outgoing calls

Tested by 5

TestOpenFunction · 0.52
TestOpen_ValidDBFromFunction · 0.52
TestPingFunction · 0.52
TestDatabaseFunction · 0.52