Versions in this module Expand all Collapse all v1 v1.4.8 Oct 28, 2021 v1.4.7 Oct 27, 2021 Changes in this version + var DefaultConfig = Config + type Config struct + DictionaryPath string + RatioImprovements float64 + SamplePath string + StartSize int + type DictionaryKind string + const KindEvents + const KindPayloads + const KindTransactions + func (k DictionaryKind) String() string + type Generator struct + func New(log zerolog.Logger, db *badger.DB, codec dps.Codec, opts ...Option) *Generator + func (g *Generator) Dictionary(kind DictionaryKind) error + type Option func(*Config) + func WithDictionaryPath(path string) Option + func WithRatioImprovementTolerance(tolerance float64) Option + func WithSamplePath(path string) Option + func WithStartSize(size int) Option