-albiondata-sql

module
v0.0.0-...-3aaceaf Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: MIT

README

albiondata-sql

The albiondata-client pulls MarketOrders from the network traffic and pushes them to NATS, albiondata-sql dumps those from NATS to your SQL Database (one of "mysql", "postgresql" or "sqlite3").

Usage

Thanks to viper and cobra you have 3 ways to configure albiondata-sql.

1.) Traditional by configfile

Just copy albiondata-sql.yaml.tmpl to albiondata-sql.yaml and edit it.

2.) By commandline arguments

See the output of the help page ./albiondata-sql -h

3.) By environment variables

For example:

ADS_DBTYPE=sqlite3 ADS_DBURI=./sqlite.db ADS_NATSURL="nats://my-nats:4222" ./albiondata-sql 

LICENSE

MIT

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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