Documentation ¶
Index ¶
- type Database
- func (instance *Database) Connect() error
- func (instance *Database) Disconnect() error
- func (db *Database) GetHost() string
- func (db *Database) GetLogin() string
- func (db *Database) GetName() string
- func (db *Database) GetPort() int
- func (instance *Database) RunMigration(migration migrations.IMigration) error
- type DatabaseXML
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func LoadDatabase ¶
func (*Database) Disconnect ¶
func (*Database) RunMigration ¶
func (instance *Database) RunMigration(migration migrations.IMigration) error
Click to show internal directories.
Click to hide internal directories.