Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchWriter ¶
type BatchWriter interface {
// Add adds an entry to the batch.
Add(entry string) error
// Flush flushes the batch.
Flush() error
// Discard discards the batch.
Discard() error
}
BatchWriter adds batches of entries.
Click to show internal directories.
Click to hide internal directories.