datacenter-store

command module
v0.0.0-...-5c3d45e Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MPL-2.0 Imports: 13 Imported by: 0

README

Datacenter Store

master: CircleCI
develop: CircleCI

It manages all ernest datacenter storage through a NATS api

Installation

make deps
make install

Running Tests

make deps
make test

Endpoints

You have available the nats endpoints:

###datacenter.get It receives as input a valid datacenter with only the id or name as required fields. It returns a valid datacenter.

###datacenter.del It receives as input a valid datacenter with only the id as required field. And it deletes the row if it can find it.

###datacenter.set It receives as input a valid datacenter with id or not, and it will create or update the datacenter with the given fields.

###datacenter.find It receives as input a valid datacenter, and it will do a search on the database with the given fields.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Moreover, if your pull request contains patches or features, you must include relevant unit tests.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, this project is maintained under the Semantic Versioning guidelines.

Code and documentation copyright since 2015 ernest.io authors.

Code released under the Mozilla Public License Version 2.0.

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