vedran-daemon

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Vedran daemon

Daemon application for interacting with vedran load balancer.

Get vedran-daemon package
  1. Install Golang 1.13 or greater
  2. Run the command below
go get github.com/NodeFactoryIo/vedran-daemon
  1. Run vedran-daemon from your Go bin directory. For linux systems it will likely be:
~/go/bin/vedran-daemon

Note that if you need to do this, you probably want to add your Go bin directory to your $PATH to make things easier!

Usage

$ vedran-daemon -h
Register vedran-daemon with load balancer and start sending telemetry

Usage:
  vedran-daemon [flags]

Flags:
  -h, --help                    help for vedran-daemon
      --id string               Vedran-daemon id string (required)
      --lb string               Target load balancer url (required)
      --node-metrics string     Polkadot node metrics url (default "localhost:9615")
      --node-rpc string         Polkadot node rpc url (default "localhost:9933")
      --payout-address string   Payout address to which reward tokens will be sent (required)

Development

Clone
git clone git@github.com:NodeFactoryIo/vedran-daemon.git
Lint

Golangci-lint is expected to be installed.

make lint
Build
make build
Test
make test

Run daemon app with go run main.go [command].

More about different commands can be found in Usage.

License

This project is licensed under Apache 2.0:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
lb
run
mocks
lb
pkg

Jump to

Keyboard shortcuts

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