moxvox

package
v0.0.0-...-6670d34 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpVox

func HttpVox(ctx context.Context, in VoxInput) error

Types

type EventFixture

type EventFixture struct {
	Id               string
	Server           asyncapispec.Server
	ChannelName      string
	Channel          asyncapispec.ChannelItem
	Operation        asyncapispec.Operation
	OperationBinding asyncapispec.OperationBinding
	Message          asyncapispec.Message
	Headers          map[string]interface{}
	Payload          interface{}
}

func (EventFixture) MarshalBody

func (e EventFixture) MarshalBody() ([]byte, error)

type Vox

type Vox func(context.Context, VoxInput) error

type VoxInput

type VoxInput struct {
	Spec           asyncapispec.Specification
	Count          int
	ChannelMatcher *regexp.Regexp
	Printer        io.Writer
}

Jump to

Keyboard shortcuts

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