inmemory

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 4 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
}

Store is a thread-safe in-memory task store.

func New

func New() *Store

func (*Store) Get

func (s *Store) Get(ctx context.Context, taskID string) (*task.Entry, error)

func (*Store) ListSession

func (s *Store) ListSession(ctx context.Context, ref task.SessionRef) ([]*task.Entry, error)

func (*Store) Upsert

func (s *Store) Upsert(ctx context.Context, entry *task.Entry) error

Jump to

Keyboard shortcuts

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