Documentation ¶
Index ¶
- type ModuleInstance
- type PList
- func (p *PList) GetFormatName(format int) string
- func (p *PList) Parse(input string) (data any, format int, err error)
- func (p *PList) Serialize(data any, format int) (string, error)
- func (p *PList) SerializeBinary(data any) (string, error)
- func (p *PList) SerializeIndent(data any, format int, indent string) (string, error)
- func (p *PList) SerializeIndentBinary(data any, indent string) (string, error)
- func (p *PList) SerializeIndentXML(data any, indent string) (string, error)
- func (p *PList) SerializeXML(data any) (string, error)
- type RootModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 PList ¶
type PList struct {
// contains filtered or unexported fields
}
func (*PList) GetFormatName ¶ added in v0.2.0
func (*PList) SerializeBinary ¶ added in v0.3.0
func (*PList) SerializeIndent ¶
func (*PList) SerializeIndentBinary ¶ added in v0.3.0
func (*PList) SerializeIndentXML ¶ added in v0.3.0
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.