control

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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 CallPlugin(context *gin.Context)

func Config

func Config(context *gin.Context)

func Run

func Run(port int, debug bool)

func RunTestReport

func RunTestReport(context *gin.Context)

func RunWSTask

func RunWSTask(context *gin.Context)

func StopProject

func StopProject(context *gin.Context)

func StopTask

func StopTask(context *gin.Context)

func TestProject

func TestProject(context *gin.Context)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL