Documentation
¶
Overview ¶
Package json implements a Writer that writes transactions to a JSON 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 JSON output file.
FilePath string
// BatchSize is the number of transactions to buffer before writing.
BatchSize int
// FlushInterval is the interval between automatic flushes (seconds).
FlushInterval int
}
Config holds configuration for the JSON writer.
Click to show internal directories.
Click to hide internal directories.