Documentation ¶
Index ¶
- type ModuleInstance
- type RootModule
- type XML
- func (*XML) DecodeXml(input string) (string, error)
- func (*XML) EncodeXml(input string) (string, error)
- func (*XML) FindAll(path string, body string) ([]string, error)
- func (*XML) FindAllNS(ns map[string]string, path string, body string) ([]string, error)
- func (*XML) FindOne(path string, body string) (string, error)
- func (*XML) FindOneNS(ns map[string]string, path string, body string) (string, error)
- func (*XML) Parse(body string) (map[string]interface{}, error)
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 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.