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 NewPostgresConnection ¶
func NewPostgresConnection(cfg *config.Config, log *zap.Logger) *Connection
func (*Connection) GetDb ¶
func (pc *Connection) GetDb() *sql.DB
func (*Connection) Health ¶
func (pc *Connection) Health() bool
Click to show internal directories.
Click to hide internal directories.