Skip to content

Basic in-memory document store with http access written in golang.

Notifications You must be signed in to change notification settings

GuyARoss/go-document-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

In Memory Document Store

In memory document storage system designed for faster retrieval & read times compared to a traditional file system.

Installation

For running this project locally run the run.sh script within the src directory

Usage

File Creation

To create a file, make a POST request to the default route / with an id parameter of the file name.

E.g. of JSON file:

curl -X POST -H 'Content-Type: application/json' -d '{
    "data": "some data",
    "type": "this is a test",
}' http://localhost:4203?id=test

File retrieval

To retrieve a file, make a GET request to the default route / with the id paramater of the file name.

E.g. of file retrieval:

curl http://locahost:4203?id=test

About

Basic in-memory document store with http access written in golang.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published