Documentation ¶
Index ¶
- type Runner
- func (runner *Runner) CreateTestDB()
- func (runner *Runner) DataSourceName() string
- func (runner *Runner) DropTestDB()
- func (runner *Runner) MigrateToVersion(version int)
- func (runner *Runner) OpenConn() db.Conn
- func (runner *Runner) OpenDB() *sql.DB
- func (runner *Runner) OpenDBAtVersion(version int) *sql.DB
- func (runner *Runner) OpenSingleton() *sql.DB
- func (runner Runner) Run(signals <-chan os.Signal, ready chan<- struct{}) error
- func (runner *Runner) Truncate()
- func (runner *Runner) TryOpenDBAtVersion(version int) (*sql.DB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
Port int
}
func (*Runner) CreateTestDB ¶
func (runner *Runner) CreateTestDB()
func (*Runner) DataSourceName ¶
func (*Runner) DropTestDB ¶
func (runner *Runner) DropTestDB()
func (*Runner) MigrateToVersion ¶
func (*Runner) OpenSingleton ¶
Click to show internal directories.
Click to hide internal directories.