g0

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 25 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() modules.Module

func RedirectStdin

func RedirectStdin()

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

Jump to

Keyboard shortcuts

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