Versions in this module Expand all Collapse all v1 v1.0.1 Mar 8, 2023 Changes in this version + const V10 + const V11 + const V12 + const V13 + const V14 + const V15 + const V9 + type CacheLocator func() (location string, exists bool) + type Config struct + func DefaultConfig() Config + func (c Config) BinariesPath(path string) Config + func (c Config) BinaryRepositoryURL(binaryRepositoryURL string) Config + func (c Config) DataPath(path string) Config + func (c Config) Database(database string) Config + func (c Config) Locale(locale string) Config + func (c Config) Logger(logger io.Writer) Config + func (c Config) Password(password string) Config + func (c Config) Port(port uint32) Config + func (c Config) RuntimePath(path string) Config + func (c Config) StartTimeout(timeout time.Duration) Config + func (c Config) Username(username string) Config + func (c Config) Version(version PostgresVersion) Config + type EmbeddedPostgres struct + func NewDatabase(config ...Config) *EmbeddedPostgres + func (ep *EmbeddedPostgres) Start() error + func (ep *EmbeddedPostgres) Stop() error + type PostgresVersion string + type RemoteFetchStrategy func() error + type VersionStrategy func() (operatingSystem string, architecture string, postgresVersion PostgresVersion)