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

Top 1.4% on proxy.golang.org
Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 2.8% forks on proxy.golang.org
Top 1.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/jmhodges/levigo

Package levigo provides the ability to create and access LevelDB databases. levigo.Open opens and creates databases. The DB struct returned by Open provides DB.Get, DB.Put and DB.Delete to modify and query the database. For bulk reads, use an Iterator. If you want to avoid disturbing your live traffic while doing the bulk read, be sure to call SetFillCache(false) on the ReadOptions you use when creating the Iterator. Batched, atomic writes can be performed with a WriteBatch and DB.Write. If your working dataset does not fit in memory, you'll want to add a bloom filter to your database. NewBloomFilter and Options.SetFilterPolicy is what you want. NewBloomFilter is amount of bits in the filter to use per key in your database. If you're using a custom comparator in your code, be aware you may have to make your own filter policy object. This documentation is not a complete discussion of LevelDB. Please read the LevelDB documentation <http://code.google.com/p/leveldb> for information on its operation. You'll find lots of goodies there.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/jmhodges/levigo
License: MIT
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/jmhodges
Dependent packages: 4,524
Dependent repositories: 3,887
Stars: 415 on GitHub
Forks: 87 on GitHub
Docker dependents: 42
Docker downloads: 38,423
See more repository details: repos.ecosyste.ms
Last synced: about 10 hours ago

    Loading...
    Readme
    Loading...