Documentation
¶
Overview ¶
Package memory provides low-level persistence implementations that store data in memory.
They are intended to be used as reference implementations and for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JournalStore ¶
type JournalStore struct {
BeforeOpenHook func(name string) error
BeforeAppendHook func(name string, rec []byte) error
AfterAppendHook func(name string, rec []byte) error
// contains filtered or unexported fields
}
JournalStore is an implementation of journal.Store that stores journals in memory.
Click to show internal directories.
Click to hide internal directories.