Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSTeeBatch ¶
func (*DSTeeBatch) Commit ¶
func (b *DSTeeBatch) Commit() error
func (*DSTeeBatch) Reset ¶
func (b *DSTeeBatch) Reset()
type EventTee ¶
type EventTee struct {
Fn func(evs ...*Event)
}
EventTee transforms raw puts/deletes into events, and forwards them to a function. The EventTee wraps the function, to be a hashable type for use in multi-tees.
type LogTee ¶
type LogTee struct {
Log logrus.FieldLogger
}
Click to show internal directories.
Click to hide internal directories.