persister

command
v0.0.0-...-fb119ec Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

Persister

Designed to persist JSON data in mongodb

Requires the following environment variables to be set:

  • D5_HOSTNAME: mongodb hostname
  • D5_DBNAME: mongodb database name

CLI

Persister provides a regular unix interface

Data to be stored is expected as standard input in JSON format

Requires the following flags:

  • **coll {collectionName} **
cat persister/fixture/gerdict.json | persister --coll=german

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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