Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogWriter ¶
func NewLogWriter( ctx context.Context, cfg *writer.LogWriterConfig, opts ...writer.Option, ) (lw *logWriter, err error)
NewLogWriter create a new logWriter.
Types ¶
type Writer ¶
Writer is a redo log event Writer which writes redo log events to a file.
func NewFileWriter ¶
func NewFileWriter( ctx context.Context, cfg *writer.LogWriterConfig, opts ...writer.Option, ) (*Writer, error)
NewFileWriter return a file rotated writer, TODO: extract to a common rotate Writer
Click to show internal directories.
Click to hide internal directories.