jsonstore

module
v0.0.0-...-f92f1a8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT

README

JSONStore

This project is not intended for production usage. It's purpose is to show how to benchmark, profile, and optimize a Go service as part of a distributed system.

This repo is used in Gopher Guides advanced profiling and optimization class.

However, if you decide you want a poorly performaing JSON data store, feel free to use this project :-).

Common Curl Commands

These are some common shorcuts to test the functionality of the key/value JSONStore api:

curl -v -d '{"name":"foo"}' -H "Content-Type: application/json" -X POST http://localhost:9090/collections

curl -v -d '{"first":"rob"}' -H "Content-Type: application/json" http://localhost:9090/collections/foo/1

curl -v  http://localhost:9090/collections/foo/1

Additional generic curl references for JSON data here: https://gist.github.com/subfuzion/08c5d85437d5d4f00e58

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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