Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(s *configurations.Settings) contract.IDatabases
New creates a new Database based on the given type in the settings.
Types ¶
type DatabaseFactory ¶
type DatabaseFactory struct { Host string Port int User string Password string DatabaseName string DriverName string DatabaseType configurations.DatabaseType SystemDatabase string }
func (*DatabaseFactory) New ¶
func (databaseFactory *DatabaseFactory) New() contract.IDatabases
Click to show internal directories.
Click to hide internal directories.