memory

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service implements an in-memory, thread-safe store for processes. All API methods work with copies to eliminate data races between goroutines.

func New

func New() *Service

func (*Service) Delete

func (s *Service) Delete(_ context.Context, id string) error

func (*Service) List

func (s *Service) List(_ context.Context, parameters ...*dao.Parameter) ([]*execution.Process, error)

func (*Service) Load

func (s *Service) Load(_ context.Context, id string) (*execution.Process, error)

func (*Service) Save

func (s *Service) Save(_ context.Context, p *execution.Process) error

Jump to

Keyboard shortcuts

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