Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionFactory ¶
type ConnectionFactory interface {
NewConnection() wrapper.UnitOfWork
NewConnectionWithTransaction() (wrapper.UnitOfWork, error)
Delegate() interface{}
Close() error
}
func NewConnectionFactory ¶ added in v1.5.5
func NewConnectionFactory(delegate *sqlx.DB) (ConnectionFactory, error)
func NewPostgresConnectionFactory ¶
func NewPostgresConnectionFactory(ds string, poolMin, poolMax int) (ConnectionFactory, error)
Click to show internal directories.
Click to hide internal directories.