Verifiable an interface for an object that has a connection to external data source and exports a function to validate that connection
| 11 | // Verifiable an interface for an object that has a connection to external |
| 12 | // data source and exports a function to validate that connection |
| 13 | type Verifiable interface { |
| 14 | VerifyConnection(context.Context) error |
| 15 | } |
| 16 | |
| 17 | // NewReadynessCheck returns a middleware that performs deep health checks |
| 18 | // (verifies the connection to any underlying store) on a specific `path` |
no outgoing calls
no test coverage detected