common

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEngine deprecated

func GetEngine(ctx context.Context) *core.Engine

GetEngine returns the k6 running Engine fetching it from the context.

Deprecated: Use directly the Engine as dependency.

func WithEngine deprecated

func WithEngine(ctx context.Context, engine *core.Engine) context.Context

WithEngine sets the k6 running Engine in the under the hood context.

Deprecated: Use directly the Engine as dependency.

Types

type ContextKey

type ContextKey int

Jump to

Keyboard shortcuts

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