Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJSModules ¶ added in v0.32.0
func GetJSModules() map[string]interface{}
GetJSModules returns a map of all js modules
Types ¶
type HasModuleInstancePerVU ¶ added in v0.32.0
type HasModuleInstancePerVU interface {
NewModuleInstancePerVU() interface{}
}
HasModuleInstancePerVU should be implemented by all native Golang modules that would require per-VU state. k6 will call their NewModuleInstancePerVU() methods every time a VU imports the module and use its result as the returned object.
Click to show internal directories.
Click to hide internal directories.