Versions in this module Expand all Collapse all v1 v1.3.0 Oct 25, 2024 Changes in this version + func NewLoader(lg *zap.Logger, cfg LoaderCfg) *loader + func NewWriter(cfg WriterCfg) *writer + type LoaderCfg struct + Dir string + type Meta struct + Cmds uint64 + Duration time.Duration + FilteredCmds uint64 + Version string + func NewMeta(duration time.Duration, cmds, filteredCmds uint64) *Meta + func (m *Meta) Read(path string) error + func (m *Meta) Write(path string) error + type Writer interface + Close func() error + Write func([]byte) error + type WriterCfg struct + Dir string + FileSize int