Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set by main at startup from the ldflags-injected value.
Functions ¶
func SetDeepDBOpener ¶ added in v2.4.18
func SetDeepDBOpener(opener DeepDBOpener)
SetDeepDBOpener wires the PostgreSQL probe seam. Called by cmd/cortex (the sole server-composition bridge) before command dispatch; harmless if called repeatedly with the same opener.
Types ¶
type DeepDBOpener ¶ added in v2.4.18
DeepDBOpener opens a database/sql connection pool over a registered PostgreSQL driver and verifies connectivity with a ping before returning. The driver name is deliberately absent from the signature: the injector owns the driver registration (pgx stdlib in the server composition).
Click to show internal directories.
Click to hide internal directories.