package storage import ( "github.com/influxdata/influxdb/v2/tsdb" "github.com/influxdata/influxdb/v2/v1/services/precreator" "github.com/influxdata/influxdb/v2/v1/services/retention" ) // Config holds the configuration for an Engine. type Config struct { Data tsdb.Config RetentionService retention.Config PrecreatorConfig precreator.Config } // NewConfig initialises a new config for an Engine. func NewConfig() Config { return Config{ Data: tsdb.NewConfig(), RetentionService: retention.NewConfig(), PrecreatorConfig: precreator.NewConfig(), } }