memoryjournal

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package memoryjournal provides an in-memory implementation of journal.Store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryStore added in v0.8.0

type BinaryStore = Store[[]byte]

BinaryStore is an implementation of journal.BinaryStore that stores records in memory.

type Store

type Store[T any] struct {
	// contains filtered or unexported fields
}

Store is an implementation of journal.Store that stores records in memory.

func (*Store[T]) Open

func (s *Store[T]) Open(ctx context.Context, name string) (journal.Journal[T], error)

Open returns the journal with the given name.

Jump to

Keyboard shortcuts

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