dgate

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DGateModule

type DGateModule struct {
	// contains filtered or unexported fields
}

func New

func New(modCtx modules.RuntimeContext) *DGateModule

New implements the modules.Module interface to return a new instance for each ModuleContext.

func (*DGateModule) AsyncSleep added in v0.8.0

func (x *DGateModule) AsyncSleep(val goja.Value) (*goja.Promise, error)

func (*DGateModule) Exports

func (x *DGateModule) Exports() *modules.Exports

Children returns the exports of the k6 module.

func (*DGateModule) Fail

func (*DGateModule) Fail(msg string) (goja.Value, error)

func (*DGateModule) Retry

func (x *DGateModule) Retry(num int, fn goja.Callable) (v goja.Value, err error)

func (*DGateModule) Sleep

func (x *DGateModule) Sleep(val goja.Value) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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