Documentation ¶
Overview ¶
Package read_file provides the xk6 Modules implementation for reading a file line by line concurrently in order using Javascript
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadFile ¶
type ReadFile struct {
// contains filtered or unexported fields
}
ReadFile represents an instance of the ReadFile module for every VU.
func (*ReadFile) Exports ¶
Exports implements the modules.Instance interface and returns the exports of the JS module.
type RootModule ¶
type RootModule struct{}
RootModule is the global module object type. It is instantiated once per test run and will be used to create `k6/x/exec` module instances for each VU.
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface to return a new instance for each VU.
Click to show internal directories.
Click to hide internal directories.