Documentation ¶
Index ¶
- type DGateModule
- func (x *DGateModule) AsyncSleep(val goja.Value) (*goja.Promise, error)
- func (x *DGateModule) Exports() *modules.Exports
- func (*DGateModule) Fail(msg string) (goja.Value, error)
- func (x *DGateModule) Retry(num int, fn goja.Callable) (v goja.Value, err error)
- func (x *DGateModule) Sleep(val goja.Value) (err error)
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 (*DGateModule) Exports ¶
func (x *DGateModule) Exports() *modules.Exports
Children returns the exports of the k6 module.
Click to show internal directories.
Click to hide internal directories.