Documentation
¶
Overview ¶
Package testutil is utility for test
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //LogFlg is for switch to output log or not LogFlg = flag.Uint("log", 1, "Log Flg: 0:OFF, 1:ON") //ConfFile is toml file path ConfFile = flag.String("fp", "", "Config File Path") //JSONFile is json file path JSONFile = flag.String("jfp", "", "Json File Path") //YAMLFile is json file path YAMLFile = flag.String("yfp", "", "YAML File Path") //KafkaIP is IP for kafka server KafkaIP = flag.Int("kip", 9092, "Json File Path") //BenchFlg is when benchmark test, value is true BenchFlg = false )
Functions ¶
func InitializeTest ¶
func InitializeTest(prefix string)
InitializeTest is to run common initial code for test
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.