Documentation ¶
Index ¶
- Constants
- func CallPlugin(context *gin.Context)
- func Config(context *gin.Context)
- func Run(port int, debug bool)
- func RunTestReport(context *gin.Context)
- func RunWSTask(context *gin.Context)
- func StopProject(context *gin.Context)
- func StopTask(context *gin.Context)
- func TestProject(context *gin.Context)
Constants ¶
View Source
const ( PathConfig = "/config/:key/:value" PathTestProject = "/test/:project" PathStopProject = "/stop/:method/:project" PathTestReport = "/report/:task" PathCallPlugin = "/plugin/:plugin/:function" PathWSTask = "/ws/:task" PathStopShow = "/stopShow" )
View Source
const ( ParamPath = "path" ParamProject = "project" ParamSuite = "s" ParamGroup = "g" ParamCase = "c" ParamTags = "t" ParamSmoking = "smoking" ParamRandom = "random" ParamNoCheck = "nocheck" ParamDebug = "d" ParamHosts = "h" ParamExtraHosts = "h_" ParamConcurrence = "p" ParamTotal = "n" ParamDuration = "d" ParamTask = "task" ParamReport = "/report" ParamPlugin = "plugin" ParamFunction = "function" ParamKey = "key" ParamValue = "value" )
View Source
const ( LOG = "log" WS = "ws" TOTAL = "total" INTERVAL = "interval" )
View Source
const ( CTTEXT = "text/html; charset=UTF-8" CTJSON = "application/json; charset=utf-8" )
View Source
const ( WsInitTask = "INIT TASK" WsBeginTask = "BEGIN TASK" WsWaitTask = "WAIT TASK" )
Variables ¶
This section is empty.
Functions ¶
func CallPlugin ¶
func RunTestReport ¶
func StopProject ¶
func TestProject ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.