Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mysql ¶
type Postgres ¶
type Postgres struct {
Host string
Port int
DbName string
Dba string
Pwd string
MaxIdleConns int
MaxOpenConns int
Timeout int
Conn *xorm.Engine
}
func NewPostgres ¶
func NewPostgres() *Postgres
Click to show internal directories.
Click to hide internal directories.