Documentation ¶
Overview ¶
Package api contains the REST API implementation for k6. It also registers the services endpoints like pprof
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServer ¶ added in v0.43.0
func GetServer( runCtx context.Context, addr string, profilingEnabled bool, runState *lib.TestRunState, samples chan metrics.SampleContainer, me *engine.MetricsEngine, es *execution.Scheduler, ) *http.Server
GetServer returns a http.Server instance that can serve k6's REST API.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.