dcr

package
v0.0.0-...-0127a75 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Command = cli.Command{
		Name:  "dcr",
		Usage: "Node bridge for DCR network",
		Flags: []cli.Flag{
			cli.StringFlag{
				Name:        "rpc_addr",
				Usage:       "Node RPC address in <address>:<port> format",
				Destination: &rpcAddress,
				Required:    true,
			},
			cli.StringFlag{
				Name:        "rpc_user",
				Usage:       "Node RPC username",
				Destination: &rpcUsername,
				Required:    true,
			},
			cli.StringFlag{
				Name:        "rpc_pass",
				Usage:       "Node RPC password",
				Destination: &rpcPassword,
				Required:    true,
			},
			cli.StringFlag{
				Name:        "rpc_cert",
				Usage:       "Node RPC certificate",
				Destination: &rpcCertificate,
				Required:    true,
			},
			cli.DurationFlag{
				Name:        "rpc_interval",
				Usage:       "Node RPC interval",
				Value:       3 * time.Second,
				Destination: &rpcInterval,
			},
			cli.StringFlag{
				Name:        "kafka_brokers",
				Usage:       "Kafka broker address in comma separated <address>:<port> format",
				Destination: &kafkaBrokers,
				Required:    true,
			},
			cli.StringFlag{
				Name:        "rawgw_topic",
				Usage:       "Kafka topic for raw getwork messages",
				Required:    true,
				Destination: &rawGwTopic,
			},
		},
		Action: run,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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