An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/cockroachlabs/pq-timeouts : v1.0.0

Package pqtimeouts is a Postgres driver for Go that wraps lib/pq to provide read and write timeouts. pq-timeouts adds two new connection string parameters: read_timeout and write_timeout. Otherwise, usage is the nearly the same as lib/pq through the database/sql package: Connections using a URL work as well: read_timeout and write_timeout are specified in milliseconds. If read_timeout or write_timeout are not specified or set to 0, no timeout is set and the driver behaves as standard lib/pq. For other connection options, check out the documentation for lib/pq: https://godoc.org/github.com/lib/pq

Registry - Documentation - Download - JSON
purl: pkg:golang/github.com/cockroachlabs/[email protected]
Published:
Indexed:

    Loading...
    Readme
    Loading...