Documentation
¶
Overview ¶
Package csv implements a Writer that writes transactions to a CSV file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// FilePath is the path to the CSV output file.
FilePath string
// BatchSize is the number of transactions to buffer before writing.
BatchSize int
// FlushInterval is the interval between automatic flushes.
FlushInterval int // seconds
}
Config holds configuration for the CSV writer.
Click to show internal directories.
Click to hide internal directories.