MCPcopy
hub / github.com/gotify/server / HealthDatabase

Interface HealthDatabase

api/health.go:9–11  ·  view source on GitHub ↗

The HealthDatabase interface for encapsulating database access.

Source from the content-addressed store, hash-verified

7
8// The HealthDatabase interface for encapsulating database access.
9type HealthDatabase interface {
10 Ping() error
11}
12
13// The HealthAPI provides handlers for the health information.
14type HealthAPI struct {

Callers 4

PingMethod · 0.65
TestPing_onValidDBMethod · 0.65
TestPing_onClosedDBMethod · 0.65
HealthMethod · 0.65

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…