Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + func HandleGetGroup(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleGetGroups(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleGetMetric(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleGetMetrics(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleGetSetupData(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleGetStatus(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandlePatchStatus(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleRunSetup(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleRunTeardown(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleSetSetupData(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func NewHandler() http.Handler + type Check struct + Fails int64 + ID string + Name string + Passes int64 + Path string + func NewCheck(c *lib.Check) Check + type Error api2go.Error + func (e Error) Error() string + type ErrorResponse struct + Errors []Error + type Group struct + Checks []Check + GroupIDs []string + Groups []*Group + ID string + Name string + Parent *Group + ParentID string + Path string + func FlattenGroup(g *Group) []*Group + func NewGroup(g *lib.Group, parent *Group) *Group + func (g *Group) SetID(v string) error + func (g *Group) SetToManyReferenceIDs(name string, ids []string) error + func (g *Group) SetToOneReferenceID(name, id string) error + func (g Group) GetID() string + func (g Group) GetReferencedIDs() []jsonapi.ReferenceID + func (g Group) GetReferences() []jsonapi.Reference + type Metric struct + Contains NullValueType + Name string + Sample map[string]float64 + Tainted null.Bool + Type NullMetricType + func NewMetric(m *stats.Metric, t time.Duration) Metric + func (m *Metric) SetID(id string) error + func (m Metric) GetID() string + type NullMetricType struct + Type stats.MetricType + Valid bool + func (t *NullMetricType) UnmarshalJSON(data []byte) error + func (t NullMetricType) MarshalJSON() ([]byte, error) + type NullSetupData struct + Data interface{} + type NullValueType struct + Type stats.ValueType + Valid bool + func (t *NullValueType) UnmarshalJSON(data []byte) error + func (t NullValueType) MarshalJSON() ([]byte, error) + type SetupData struct + Data interface{} + func (sd SetupData) GetID() string + func (sd SetupData) GetName() string + type Status struct + Paused null.Bool + Running bool + Status lib.ExecutionStatus + Stopped bool + Tainted bool + VUs null.Int + VUsMax null.Int + func NewStatus(engine *core.Engine) Status + func (s Status) GetID() string + func (s Status) GetName() string + func (s Status) SetID(id string) error