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 ¶
const ( FlagApp = "app" FlagAppUsage = "(Required) Staked application address" DefaultFlagApp = "" FlagPayload = "payload" FlagPayloadUsage = "(Required) JSON-RPC payload" DefaultFlagPayload = "" FlagSupplier = "supplier" FlagSupplierUsage = "(Optional) Staked Supplier address" DefaultFlagSupplier = "" FlagSupplierPublicEndpointOverride = "supplier-public-endpoint-override" FlagSupplierPublicEndpointOverrideUsage = "(Optional) Override the publicly exposed endpoint of the Supplier (useful for LocalNet testing)" DefaultFlagSupplierPublicEndpointOverride = "" FlagConfig = "config" FlagConfigUsage = "(Required) The path to the relayminer config file" DefaultFlagConfig = "" FlagCount = "count" FlagCountUsage = "(Optional) Number of requests to send (default: 1)" DefaultFlagCount = 1 )
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
GRPCConfig holds configuration options for establishing a gRPC connection.
Fields: - HostPort: gRPC host:port string - Insecure: Use insecure credentials