Documentation ¶
Overview ¶
Package testsql contains the primary mechanism for connecting to a database container for unit or other functional testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionError ¶ added in v0.0.9
type ConnectionError error
type TestConnector ¶
type TestConnector struct {
// contains filtered or unexported fields
}
func (*TestConnector) ContainerConfig ¶ added in v0.0.9
func (tc *TestConnector) ContainerConfig() *container.Config
func (*TestConnector) DataSourceName ¶
func (tc *TestConnector) DataSourceName() string
func (*TestConnector) HostConfig ¶ added in v0.0.9
func (tc *TestConnector) HostConfig() *container.HostConfig
Directories ¶
Path | Synopsis |
---|---|
Package container contains functions and methods for starting a container.
|
Package container contains functions and methods for starting a container. |
Package postgres contains the basic definition for connection to a postgres based container
|
Package postgres contains the basic definition for connection to a postgres based container |
Click to show internal directories.
Click to hide internal directories.