Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddTestCmd = &cobra.Command{ Use: "add", Short: "add a test to the db test web server", Long: "add a test to the db test web server", Args: cobra.MinimumNArgs(0), Run: func(cmd *cobra.Command, args []string) { if loaderPath == "" { addTest() } else { LoadRandgenConf() } }, }
View Source
var StartCmd = &cobra.Command{ Use: "start [options ]", Short: "start the db test web server", Long: "start the db test web server", Args: cobra.MinimumNArgs(0), Run: func(cmd *cobra.Command, args []string) { StartServer() }, }
View Source
var WatchTestCmd = &cobra.Command{ Use: "watch [watch tests]", Short: "watch test", Long: "watch test", Args: cobra.MinimumNArgs(0), Run: func(cmd *cobra.Command, args []string) { watchTest() }, }
Functions ¶
func LoadRandgenConf ¶
func LoadRandgenConf()
func StartServer ¶
func StartServer()
Types ¶
type RandgenConfOpt ¶
type RandgenConfOpt struct {
LoopInterval int
QueryCount int
QueryLoader string
DataLoader string
Name string
// contains filtered or unexported fields
}
func NewRandgenConf ¶
func NewRandgenConf(yyFile string, zzFile string, loop int) *RandgenConfOpt
func (*RandgenConfOpt) Add ¶
func (c *RandgenConfOpt) Add()
Click to show internal directories.
Click to hide internal directories.