Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orm ¶
Orm - main structure for orm object
func NewMySqlOrm ¶
NewMySqlOrm - creates a new Orm object with MySQL connection
func NewSQLiteOrm ¶
NewSQLiteOrm - creates a new Orm object with SQLite connection
type OrmConfig ¶
type OrmConfig struct { OnGCP bool DbName string DbUser string DbPassword string DbHost string DbPort *int // defaults to 3306 MaxIdleConns *int // default to 100 MaxOpenConns *int // default to 100 ConnMaxLifetimeMins *int // defaults to 15 Logger *logger.Interface }
OrmConfig - configuration structure for config values at ORM module
Click to show internal directories.
Click to hide internal directories.