Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LifecycleInstance ¶ added in v0.1.1
type LifecycleInstance struct {
// contains filtered or unexported fields
}
RequestInstance represents an instance of the lifecycle module.
func (*LifecycleInstance) Exports ¶ added in v0.1.1
func (mi *LifecycleInstance) Exports() modules.Exports
Exports returns the JS values this module exports.
type LifecycleModule ¶
type LifecycleModule struct {
// contains filtered or unexported fields
}
RootModule is the global module instance that will create module instances for each VU.
func New ¶
func New(workerInfo *libWorker.WorkerInfo) *LifecycleModule
New returns a pointer to a new LifecycleModule instance.
func (*LifecycleModule) NewModuleInstance ¶
func (module *LifecycleModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance returns an lifecycle module instance for each VU.
Click to show internal directories.
Click to hide internal directories.