generator

package
v0.34.0-crescendo-prev... Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEventsWithEncoding added in v0.32.7

func GetEventsWithEncoding(n int, version entities.EventEncodingVersion) []flow.Event

GetEventsWithEncoding generates a specified number of events with a given encoding version.

Types

type EventGeneratorOption added in v0.31.11

type EventGeneratorOption func(*Events)

func WithEncoding added in v0.31.11

func WithEncoding(encoding entities.EventEncodingVersion) EventGeneratorOption

type Events

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

func EventGenerator

func EventGenerator(opts ...EventGeneratorOption) *Events

func (*Events) New

func (g *Events) New() flow.Event

type Identifiers

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

func IdentifierGenerator

func IdentifierGenerator() *Identifiers

func (*Identifiers) New

func (g *Identifiers) New() flow.Identifier

Jump to

Keyboard shortcuts

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