Documentation
¶
Overview ¶
Package cockroachdb implements the CockroachDB driver as a thin wrapper over the PostgreSQL driver. CockroachDB uses the PG wire protocol, so the PG driver handles all the actual work.
Index ¶
Constants ¶
View Source
const DefaultDatabase = "defaultdb"
DefaultDatabase is the default CockroachDB database.
View Source
const DefaultPort = 26257
DefaultPort is the standard CockroachDB port.
Variables ¶
This section is empty.
Functions ¶
func ConnectURL ¶
ConnectURL opens a CockroachDB connection from a URL via the PG driver.
Types ¶
Click to show internal directories.
Click to hide internal directories.