webtessera/storage/memory

Keeps a Tessera log in memory: the browser's counterpart of the POSIX driver, and the reference backend for the ObjectStore driver.

It has no Go counterpart: it is an addition of webtessera’s. Its source is src/storage/memory/index.ts.

Functions

newMemoryDriver
newMemoryDriver returns a storage driver which keeps the log in memory.

Classes

MemoryObjectStore
MemoryObjectStore is an ObjectStore that keeps every object in a Map.

Interfaces

MemoryDriverConfig
MemoryDriverConfig configures newMemoryDriver.