Documentation ¶ Index ¶ func New(db *sql.DB) func(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(db *sql.DB) func(ctx context.Context) error New creates a new Postgres specific database health check function. It is database driver agnostic and hence expects you to provide an already established database connection. Types ¶ This section is empty. Source Files ¶ View all Source files postgres.go Click to show internal directories. Click to hide internal directories.