Documentation
¶
Index ¶
- Variables
- type Cache
- type Event
- type Index
- type Indexer
- type NoopIndexer
- type WAL
- func (w *WAL) Append(ev Event) error
- func (w *WAL) Close() error
- func (w *WAL) Open(dir string) error
- func (w *WAL) Path() string
- func (w *WAL) WithCache(c *Cache)
- func (w *WAL) WithIndexer(i Indexer)
- func (w *WAL) WithMaxBytes(n int64)
- func (w *WAL) WithRedactors(r ...*regexp.Regexp)
- func (w *WAL) WithSyncEvery(d time.Duration)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCacheNotOpen = errors.New("recorder: cache not open")
ErrCacheNotOpen is returned by Cache methods when the underlying badger DB has not been initialized via Open.
Functions ¶
This section is empty.
Types ¶
type NoopIndexer ¶
type NoopIndexer struct{}
func (NoopIndexer) Close ¶
func (NoopIndexer) Close() error
type WAL ¶
type WAL struct {
// contains filtered or unexported fields
}
func (*WAL) WithIndexer ¶
func (*WAL) WithMaxBytes ¶
func (*WAL) WithRedactors ¶
func (*WAL) WithSyncEvery ¶
Click to show internal directories.
Click to hide internal directories.