Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Compression ¶
type Compression struct {
// contains filtered or unexported fields
}
func (*Compression) ZstdCompress ¶
func (m *Compression) ZstdCompress(data sobek.Value) sobek.Value
func (*Compression) ZstdDecompress ¶
func (m *Compression) ZstdDecompress(compressed sobek.Value) sobek.Value
type ModuleInstance ¶
type ModuleInstance struct {
// contains filtered or unexported fields
}
ModuleInstance represents an instance of the JS module.
func (*ModuleInstance) Exports ¶
func (mi *ModuleInstance) Exports() modules.Exports
Exports implements the modules.Instance interface and returns the exported types for the JS module.
type RootModule ¶
type RootModule struct{}
RootModule is the global module instance that will create module instances for each VU.
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface returning a new instance for each VU.
Click to show internal directories.
Click to hide internal directories.