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