Documentation ¶
Index ¶
- type Faker
- func (f *Faker) Bs() string
- func (f *Faker) HttpMethod() string
- func (f *Faker) HttpStatusCode() int
- func (f *Faker) HttpStatusCodeSimple() int
- func (f *Faker) ImageJpeg(width int, height int) goja.ArrayBuffer
- func (f *Faker) ImagePng(width int, height int) goja.ArrayBuffer
- func (f *Faker) Ipv4Address() string
- func (f *Faker) Ipv6Address() string
- func (f *Faker) RgbColor() []int
- func (f *Faker) Uuid() string
- type ModuleInstance
- type RootModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Faker ¶
type Faker struct { *gofakeit.Faker // contains filtered or unexported fields }
func (*Faker) HttpMethod ¶
func (*Faker) HttpStatusCode ¶
func (*Faker) HttpStatusCodeSimple ¶
func (*Faker) Ipv4Address ¶
func (*Faker) Ipv6Address ¶
type ModuleInstance ¶
type ModuleInstance struct {
// contains filtered or unexported fields
}
func (*ModuleInstance) Exports ¶
func (mi *ModuleInstance) Exports() modules.Exports
Exports implements the modules.Instance interface and returns the exports of the JS module.
type RootModule ¶
type RootModule struct{}
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface and returns a new instance for each VU.
Click to show internal directories.
Click to hide internal directories.