largepayload

package
v0.0.0-...-94a9b73 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

This fixture starts several workflows (NumberOfWorkflows) with payloads of size 1mb (PayloadSize). These payloads include:

  • memo
  • activity input
  • activity result

Used in:

  • Web UI performance testing

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LargePayloadWorkflow

func LargePayloadWorkflow(ctx workflow.Context, payloadSize int) (err error)

LargePayloadWorkflow workflow definition

Types

type Activities

type Activities struct {
}

func (*Activities) CreateLargeResultActivity

func (a *Activities) CreateLargeResultActivity(ctx context.Context, sizeBytes int) ([]byte, error)

func (*Activities) ProcessLargeInputActivity

func (a *Activities) ProcessLargeInputActivity(ctx context.Context, input []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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