github.com/janos/boltdbpool
Package boltdbpool implements a pool container for BoltDB github.com/coreos/bbolt databases. Pool elements called connections keep reference counts for each database to close it when it when the count is 0. Database is reused or opened based on database file path. Closing the database must not be done directly, instead Connection.Close() method should be used. Database is removed form the pool and closed by the goroutine in the background in respect to reference count and delay in time if it is specified. Example:
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 3 years ago
v0.5.3
almost 3 years ago
Versions
9
9
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/janos/boltdbpool
spec |
| License | BSD-3-Clause |
| Namespace | github.com/janos |
| First Release | almost 9 years ago |
| Last Synced | 24 days ago |
Repository
| Stars | 4 on GitHub |
| Forks | 1 on GitHub |
Rankings on proxy.golang.org
Overall
Top 7.6%
Forks
Top 7.0%