proxy.golang.org : github.com/DataDog/pq-timeouts
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
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/%21data%21dog/pq-timeouts
License: MIT
Latest release: over 8 years ago
First release: over 8 years ago
Namespace: github.com/DataDog
Stars: 0 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago