Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDummyTable ¶ added in v0.0.3
Types ¶
type ConnectionSettings ¶
type ConnectionSettings struct { Host string Port string User string Password string Database string DisableSSL bool MaxOpenConns int }
func (*ConnectionSettings) Connect ¶
func (settings *ConnectionSettings) Connect() (*sqlx.DB, error)
func (*ConnectionSettings) String ¶
func (settings *ConnectionSettings) String() string
type PostgresDatabase ¶
type PostgresDatabase struct { Settings *ConnectionSettings Pool *dockertest.Pool Network *dockertest.Network Resource *dockertest.Resource }
func (*PostgresDatabase) SetUp ¶
func (d *PostgresDatabase) SetUp() error
func (*PostgresDatabase) TearDown ¶
func (d *PostgresDatabase) TearDown() error
Click to show internal directories.
Click to hide internal directories.