Versions in this module Expand all Collapse all v2 v2.2.3 Nov 5, 2021 v2.2.2 Nov 5, 2021 Changes in this version + func GetDownloadFilename(response *http.Response, nonStableDB bool, latestStableVersion string) (string, error) + func GetDownloadResponse(nonStable bool) (*http.Response, string, error) + func NewDBForTest(t *testing.T, opts ...TestServerOpt) (*sql.DB, func()) + func NewDBForTestWithDatabase(t *testing.T, database string, opts ...TestServerOpt) (*sql.DB, func()) + type TestConfig struct + IsTest bool + StopDownloadInMiddle bool + type TestServer interface + PGURL func() *url.URL + Start func() error + Stderr func() string + Stdout func() string + Stop func() + WaitForInit func() error + func NewTestServer(opts ...TestServerOpt) (TestServer, error) + type TestServerOpt func(args *testServerArgs) + func NonStableDbOpt() TestServerOpt + func RootPasswordOpt(pw string) TestServerOpt + func SecureOpt() TestServerOpt + func SetStoreMemSizeOpt(memSize float64) TestServerOpt + func StopDownloadInMiddleOpt() TestServerOpt + func StoreOnDiskOpt() TestServerOpt