Version: v0.0.0-...-9e745d5 Latest Latest

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 22 Imported by: 1




This section is empty.


View Source
var (
	PgClient *postgres.PGClient


func GetLastParams

func GetLastParams(w http.ResponseWriter, r *http.Request)

GetLastParams - init slace for response last scenario params

func GetScenarios

func GetScenarios(w http.ResponseWriter, r *http.Request)

GetScenarios - handle return state all scenario and generators

func NewScenario

func NewScenario(w http.ResponseWriter, r *http.Request)

NewScenario - handle to insert new scenario to table

func PreCheckScenario

func PreCheckScenario(w http.ResponseWriter, r *http.Request)

PreCheckScenario - handle to rpe check scenario file, if mandatory thread groups params is nil, return fasle.

func StartScenario

func StartScenario(w http.ResponseWriter, r *http.Request)

StartScenario - handle to start scenario

func StopScenario

func StopScenario(w http.ResponseWriter, r *http.Request)

StopScenario - handle to stop scenario

func UpdateOrDeleteScenario

func UpdateOrDeleteScenario(w http.ResponseWriter, r *http.Request)

UpdateOrDeleteScenario - handle for update scenario values to table

func Ws

func Ws(w http.ResponseWriter, r *http.Request)

Ws - handler for websocket, send status of scenario to client


This section is empty.

Jump to

Keyboard shortcuts

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