g0

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 24 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap added in v0.1.3

func Bootstrap()

func New

func New() modules.Module

func RegisterExports

func RegisterExports(fn ...ExportsFunc)

Types

type DefaultFunc

type DefaultFunc func(context.Context, *assertions.Assertions, *requirements.Assertions, interface{}) error

type ExportsFunc

type ExportsFunc func(modules.VU) interp.Exports

type HandleSummaryFunc

type HandleSummaryFunc func(map[string]interface{}) (map[string]interface{}, error)

type Module

type Module struct {
	// contains filtered or unexported fields
}

func (*Module) Exports

func (mod *Module) Exports() modules.Exports

type Options

type Options map[string]interface{}

type RootModule

type RootModule struct{}

func (*RootModule) NewModuleInstance

func (root *RootModule) NewModuleInstance(vu modules.VU) modules.Instance

type SetupFunc

type SetupFunc func(context.Context, *assertions.Assertions, *requirements.Assertions) (interface{}, error)

type TeardownFunc

type TeardownFunc func(context.Context, *assertions.Assertions, *requirements.Assertions, interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL