command
module
Version:
v0.0.0-...-2800fc3
Opens a new window with list of versions in this module.
Published: Jan 17, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
JStore - a small JSON file server build in Go
JStore is a small JSON file server build in Go.
JStore enables 3 basic functions for storing JSON files on a server:
- View a file using GET
- Store a file using POST
- Modify a file using PUT
Files are stored using UUIDs as identifiers, by which they can be accessed.
Installation
- Use
go build
and go install
to build the source code and install the program. Afterwards, the program can be run with jstore
.
- Start the precompiled program (currently only Windows/amd64) by running
.\jstore.exe
.
- Build and run the docker image by using the Dockerfile
Arguments
-f
: Path to the folder in which jstore
should store the files.
-p
: Port on which jstore
should run (default: 8080)
-u
: Base URL that will be returned together with the identifier when a new file is stored.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.