Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "pewpew", Short: "HTTP load tester for performance and stress testing", PersistentPreRun: func(cmd *cobra.Command, args []string) { runtime.GOMAXPROCS(viper.GetInt("cpu")) if viper.GetBool("verbose") && viper.GetBool("quiet") { fmt.Println("Both verbose and quiet enabled, disabling verbose") viper.Set("verbose", false) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.