Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewWithDSN ¶
func NewWithDSN(dsn string, tries uint) (*Connection, error)
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) Connect ¶
func (c *Connection) Connect(tries uint) error
func (*Connection) DB ¶
func (c *Connection) DB() *sql.DB
func (*Connection) DSN ¶
func (c *Connection) DSN() string
Click to show internal directories.
Click to hide internal directories.