Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Command = cli.Command{ Name: "eth", Usage: "Node bridge for ETH/ETC network", Flags: []cli.Flag{ cli.BoolFlag{ Name: "classic", Usage: "Whether node bridge is connected to a ETC node", Destination: &classic, }, cli.StringFlag{ Name: "rpc_addr", Usage: "Node RPC address in <protocol>//<address>:<port> format", Destination: &rpcAddress, Required: true, }, cli.DurationFlag{ Name: "rpc_interval", Usage: "Node RPC interval", Value: 3 * time.Second, Destination: &rpcInterval, }, cli.DurationFlag{ Name: "notify_timeout", Usage: "Node RPC notification timeout", Value: 30 * time.Second, Destination: ¬ifyTimeout, }, 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.
Click to show internal directories.
Click to hide internal directories.