Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSublogNotFound = errors.New("multilog: requested sublog not found") ErrSublogDeleted = errors.New("multilog: stored sublog was deleted. please re-open") )
Functions ¶
Types ¶
type MultiLog ¶
type MultiLog interface { Get(indexes.Addr) (margaret.Log, error) List() ([]indexes.Addr, error) io.Closer Flush() error // Delete removes all entries related to that log Delete(indexes.Addr) error }
MultiLog is a collection of logs, keyed by a indexes.Addr
Click to show internal directories.
Click to hide internal directories.