Documentation
¶
Overview ¶
Package cmd provides the command-line interface for the RelayMiner.
- Contains subcommands for starting, testing, and operating a RelayMiner - Entry point for the relayminer CLI
Package cmd contains the relayminer CLI commands and utilities.
Package cmd holds CLI flag variables for the relayminer commands.
- Used by subcommands to configure runtime behavior - Values are set via CLI flags
Package cmd provides gRPC connection utilities for the relayminer CLI.
Package cmd provides keyring utilities for the relayminer CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelayerCmd ¶
RelayerCmd returns the Cobra root command for the relayminer CLI.
- Root for all RelayMiner subcommands - Use 'relayminer --help' for more info
Types ¶
type GRPCConfig ¶ added in v0.1.12
type GRPCConfig struct {
HostPort string `yaml:"host_port"`
Insecure bool `yaml:"insecure"`
BackoffBaseDelay time.Duration `yaml:"backoff_base_delay"`
BackoffMaxDelay time.Duration `yaml:"backoff_max_delay"`
MinConnectTimeout time.Duration `yaml:"min_connect_timeout"`
KeepAliveTime time.Duration `yaml:"keep_alive_time"`
KeepAliveTimeout time.Duration `yaml:"keep_alive_timeout"`
}
GRPCConfig holds configuration options for establishing a gRPC connection.
Fields: - HostPort: gRPC host:port string - Insecure: Use insecure credentials - BackoffBaseDelay: Base delay for backoff - BackoffMaxDelay: Max delay for backoff - MinConnectTimeout: Minimum connection timeout - KeepAliveTime: Keepalive interval - KeepAliveTimeout: Keepalive timeout