taskstore

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package taskstore provides types and utilities for storing a2a.Task snapshots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mem

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

Mem stores deep-copied a2a.Task-s in memory.

func NewMem

func NewMem() *Mem

NewMem creates an empty Mem store.

func (*Mem) Get

func (s *Mem) Get(ctx context.Context, taskID a2a.TaskID) (*a2a.Task, error)

func (*Mem) Save

func (s *Mem) Save(ctx context.Context, task *a2a.Task) error

Jump to

Keyboard shortcuts

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