Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWrongEntryType = errors.New("Unexpected log entry type.") ErrUnknownCompression = errors.New("Unknown compression scheme.") )
Functions ¶
Types ¶
type Storage ¶
type Storage interface { // Fetch the log entry at the given address. Fetch(Addr) (diskstore.LogEntry, error) // Store the data, returning its address. WriteEntry(ent diskstore.LogEntry) (Addr, error) // Marks the address range for deletion. Note: the current implementation // does not use this; proper cleanup is still TODO Clear(Addr) error }
Abstract interface for the backing store.
Click to show internal directories.
Click to hide internal directories.