keyvaluestorage

command module
v0.0.0-...-be6fd2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2018 License: MIT Imports: 4 Imported by: 0

README

KeyValue Storage backend

Build Status codecov Go language Go Report Card

The solution is made of two package. The main storage package, that implements the storage key value engine. The http package, that implements the access through REST api on HTTP transport to the engine Different engine can be built as backend of the REST api Current engine supported: filesystem and memory

Run

$ make build-image
$ docker-compose up

Usage

Parameter Description Value
listener port to use for http (0.0.0.0:80)
provider which storage provider to use (fs|memory)
basedir path storage for filesystem provider

Build

go build -o kvs main.go

Test

go test ./...

Docker

For easy deployment, we've created a Docker container.

docker-compose run keyvaluestorage --provider [fs|memory]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL