tree-db

command module
v0.0.0-...-9b55679 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 9 Imported by: 0

README

TreeDB

A Simple and Powerful Key-Value (Tree Structure) DB

How works TreeDB??

TreeDB is a Key-Value (Tree structure) database for fast configuration and management for other apps simplifying the configuration and updating values in realtime.

Why TreeDB??

TreeDB is ideal for configure distributed applications or microservices-oriented and multi varying applications.

TreeDB provides various special types for a configuration faster as:

  • Lists[type]: Is an array of elements of specified type.
  • Members: Is an unique list os string elements.
  • Maps[type, type]: Is a Key-SimpleValue map.
  • References(node): Is a "View" of other node syncing in real time both nodes.
  • Nodes: Is a Key-ComplexValue map.

Options of TreeDB Server.

usage: treedb-server [-h|--help] -D|--dbDir "<value>" [-v|--verbosity
                     (DEBUG|INFO|WARNING|ERROR)] [-L|--logFile "<value>"]
                     [-A|--auth] [-p|--port <integer>] [-H|--host "<value>"]

                     A Simple and Powerful Key-Value (Tree Structure) DB

Arguments:

  -h  --help       Print help information
  -D  --dbDir      Location of DB lock folder
  -v  --verbosity  Verbosity level of the app. Default: WARNING
  -L  --logFile    Log file destination if is 'STDOUT' will be log on console.
                   Default: STDOUT
  -A  --auth       Force authentication. Default: false
  -p  --port       Port to expose the database connection. Default: 9110
  -H  --host       Host to expose the database connection. Default: 127.0.0.1
  • -h --help
    • Required: No
    • Description: Print help information
  • -D --dbDir
    • Required: Yes
    • Description: Location of DB lock folder
  • -v --verbosity
    • Required: No
    • Description: Verbosity level of the app
    • Default: INFO
    • Options
      • DEBUG
      • INFO
      • WARNING
      • ERROR
  • -A --auth
    • Required: No
    • Description: Force authentication
  • -p --port
    • Required: No
    • Description: Port to expose the database connection
    • Default: 9110
  • -H --host
    • Required: No
    • Description: Host to expose the database connection
    • Default: 127.0.0.1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
server module

Jump to

Keyboard shortcuts

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