memrecordstore

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New() *Store

func (*Store) Latest

func (s *Store) Latest(ctx context.Context, workflowName, foreignID string) (*workflow.WireRecord, error)

func (*Store) Lookup

func (s *Store) Lookup(ctx context.Context, id int64) (*workflow.WireRecord, error)

func (*Store) SetSnapshotOffset

func (s *Store) SetSnapshotOffset(workflowName, foreignID, runID string, offset int)

func (*Store) SnapshotOffset

func (s *Store) SnapshotOffset(workflowName, foreignID, runID string) int

func (*Store) Snapshots

func (s *Store) Snapshots(workflowName, foreignID, runID string) []*workflow.WireRecord

func (*Store) Store

func (s *Store) Store(ctx context.Context, record *workflow.WireRecord, emitter workflow.EventEmitter) error

Jump to

Keyboard shortcuts

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