Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "dummy",
Short: "Dummy Socket Client for Babble",
PreRunE: loadConfig,
RunE: runDummy,
}
RootCmd is the root command for Dummy
Functions ¶
This section is empty.
Types ¶
type CLIConfig ¶
type CLIConfig struct { Name string `mapstructure:"name"` ClientAddr string `mapstructure:"client-listen"` ProxyAddr string `mapstructure:"proxy-connect"` Discard bool `mapstructure:"discard"` LogLevel string `mapstructure:"log"` }
CLIConfig contains configuration for the Run command
func NewDefaultCLIConfig ¶
func NewDefaultCLIConfig() *CLIConfig
NewDefaultCLIConfig creates a CLIConfig with default values
Click to show internal directories.
Click to hide internal directories.