inmem

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package inmem provides an in-memory implementation of runlog.Store.

The in-memory store is intended for tests and local development. It is not durable and should not be used in production.

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 implements runlog.Store in memory.

func New

func New() *Store

New returns a new in-memory run log store.

func (*Store) Append

func (s *Store) Append(_ context.Context, e *runlog.Event) (runlog.AppendResult, error)

Append implements runlog.Store.

func (*Store) List

func (s *Store) List(_ context.Context, runID string, cursor string, limit int) (runlog.Page, error)

List implements runlog.Store.

Jump to

Keyboard shortcuts

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