Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
type WriterOption ¶
type WriterOption func(w *Writer)
func AutoNumber ¶
func AutoNumber() WriterOption
AutoNumber will read the existing TSM file names and use generation + 1
func Generation ¶
func Generation(gen int) WriterOption
Generation specifies the generation number of the tsm files.
func Sequence ¶
func Sequence(seq int) WriterOption
Sequence specifies the starting sequence number of the tsm files.
func Temporary ¶
func Temporary() WriterOption
Temporary configures the writer to create tsm.tmp files.
Click to show internal directories.
Click to hide internal directories.