Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentInstance ¶
type EnvironmentInstance struct {
// contains filtered or unexported fields
}
EnvironmentInstance represents an instance of the environment module.
func (*EnvironmentInstance) Exports ¶
func (mi *EnvironmentInstance) Exports() modules.Exports
Exports returns the JS values this module exports.
type EnvironmentModule ¶
type EnvironmentModule 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) *EnvironmentModule
New returns a pointer to a new EnvironmentModule instance.
func (*EnvironmentModule) NewModuleInstance ¶
func (module *EnvironmentModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance returns an environment module instance for each VU.
Click to show internal directories.
Click to hide internal directories.