Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { Start(context.Context) error Stop() error WriteOne(b bucket.Bucket, e log.Entry) (map[string]any, error) WriteBatch(b bucket.Bucket, e []log.Entry) (map[string]any, error) All(b bucket.Bucket) ([]log.Entry, error) Last(b bucket.Bucket, n uint64) ([]log.Entry, error) Count(b bucket.Bucket) (uint64, error) }
Click to show internal directories.
Click to hide internal directories.