Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helinwang/kv
A Go key/value store service based on BoltDB.
https://github.com/helinwang/kv
boltdb go key-value kvstore
Last synced: 8 days ago
JSON representation
A Go key/value store service based on BoltDB.
- Host: GitHub
- URL: https://github.com/helinwang/kv
- Owner: helinwang
- License: mit
- Created: 2017-07-27T06:32:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T19:49:28.000Z (over 7 years ago)
- Last Synced: 2024-06-20T14:25:32.440Z (5 months ago)
- Topics: boltdb, go, key-value, kvstore
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kv
[![Build Status](https://travis-ci.org/helinwang/kv.svg?branch=master)](https://travis-ci.org/helinwang/kv)A Go key/value store service based on [BoltDB](https://github.com/boltdb/bolt), access BoltDB from multiple processes.
## Integrate with Go
Please see [here](./example_test.go).
## CLI example
```bash
go get github.com/helinwang/kv/cmd/kvctl
go get github.com/helinwang/kv/cmd/kv# Start kv service:
kv -path db.bin# Test (open another terminal)
kvctl put :8080 hello hi
kvctl get :8080 hello# Output: hi
```## Graceful Shutdown
Supported in the CLI. Please see [here](./cmd/kv/main.go).