Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Hostname string Port int Dialect string Username string Password string Name string Charset string Migrate bool }
Config defines the database configuration
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the database service
func NewService ¶
NewService returns the database handler as DataAccessor. It also opens the database connection using the given config.
Click to show internal directories.
Click to hide internal directories.