# Packages
Package client provides a simple go-client for the k6's REST API.
# Functions
FlattenGroup flattens a group and all its subgroups into a slice of groups.
NewCheck constructs a new v1.Check struct that is used for a check representation in a k6 REST API.
NewGroup constructs a new v1.Group struct that is used for a group representation in a k6 REST API.
NewHandler returns the top handler for the v1 REST APIs.
NewMetric constructs a new v1.Metric struct that is used for a metric representation in a k6 REST API.
NewStatusJSONAPI creates the JSON API status envelop.
# Structs
Check represents a k6's check in a k6 REST API.
ControlSurface includes the methods the REST API can use to control and communicate with the rest of k6.
Error is an api error.
ErrorResponse is a struct wrapper around multiple errors.
Group represents a k6's group in a k6 REST API.
Metric represents a metric that is being collected by k6.
MetricsJSONAPI is JSON API envelop for metrics.
NullMetricType a nullable metric struct.
NullSetupData is wrapper around null to satisfy jsonapi.
NullValueType a nullable metric value struct.
SetupData is just a simple wrapper to satisfy jsonapi.
Status represents the current status of the test run.
StatusJSONAPI is JSON API envelop for metrics.