Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFactory ¶
type DefaultFactory struct {
Host string
Port int
DBName string
Username string
Password string
Charset string
MaxConn int
MaxIdleConn int
Log logging.LogFunc
// contains filtered or unexported fields
}
func (*DefaultFactory) CreateSession ¶
func (f *DefaultFactory) CreateSession() session.SqlSession
func (*DefaultFactory) InitDB ¶
func (f *DefaultFactory) InitDB() error
func (*DefaultFactory) LogFunc ¶
func (f *DefaultFactory) LogFunc() logging.LogFunc
Click to show internal directories.
Click to hide internal directories.