Versions in this module Expand all Collapse all v0 v0.4.4 Dec 20, 2016 Changes in this version + func HandleGetMetric(rw http.ResponseWriter, r *http.Request, p httprouter.Params) + func HandleGetMetrics(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 NewHandler() http.Handler + type Metric struct + Contains NullValueType + Name string + Type NullMetricType + func NewMetric(m stats.Metric) 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 NullValueType struct + Type stats.ValueType + Valid bool + func (t *NullValueType) UnmarshalJSON(data []byte) error + func (t NullValueType) MarshalJSON() ([]byte, error) + type Status struct + Running null.Bool + Tainted bool + VUs null.Int + VUsMax null.Int + func NewStatus(engine *lib.Engine) Status + func (s Status) GetID() string + func (s Status) GetName() string + func (s Status) SetID(id string) error v0.4.2 Dec 9, 2016