api

package
v0.0.0-...-deba56b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

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

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.

Directories

Path Synopsis
v1
Package v1 implements the v1 of the k6's REST API
Package v1 implements the v1 of the k6's REST API

Jump to

Keyboard shortcuts

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