Documentation
¶
Index ¶
- func Hash(installPath string) string
- func SetPort(pgconf, oldPort, newPort string) error
- type DBEngine
- func (engine *DBEngine) CreateDatabase(fileName string) error
- func (engine *DBEngine) Install(installPath string) error
- func (engine DBEngine) Ping() error
- func (engine *DBEngine) Remove(installPath string) error
- func (engine *DBEngine) Start(installPath string) error
- func (engine *DBEngine) Stop(installPath string) error
- func (engine DBEngine) UpdateDatabase(fileName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBEngine ¶
DBEngine has a db engine configuration.
func (*DBEngine) CreateDatabase ¶
CreateDatabase creates new database.
func (DBEngine) UpdateDatabase ¶
UpdateDatabase executes db migrations scripts.
Click to show internal directories.
Click to hide internal directories.