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

Top 8.2% on proxy.golang.org
Top 1.9% dependent repos on proxy.golang.org

proxy.golang.org : github.com/vrischmann/rdbtools

Package rdbtools is a Redis RDB snapshot file parser. Example of how to parse a RDB file. The context holds the channels you will use to receive data from the parser. You only need to provide a channel if you care about it. In the example above, we only care about the lists in the RDB file, so we don't provide all the other channels. The parser only has one method Parse(ParserContext) which takes a context. After a call to Parse, the parser can't be reused. We plan to change that though. interface{} is used everywhere in rdbtools. The reason is simple: in RDB files, keys and values can be encoded as strings or integers or even binary data. You might call a key "1" but Redis will happily encode that as an integer. The majority of the time you will have strings in your keys, and a lot of the times your values will be strings as well. For this reason, we provided the function DataToString(interface{}) which takes care of casting or converting to a string.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/vrischmann/rdbtools
License: MIT
Latest release: almost 11 years ago
First release: almost 11 years ago
Namespace: github.com/vrischmann
Dependent repositories: 7
Stars: 23 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago