Versions in this module Expand all Collapse all v0 v0.0.2 May 12, 2024 v0.0.1 Apr 28, 2024 Changes in this version + func Close(dt DBType) error + func CloseAll() error + func ConnectReader(ctx context.Context, env aveo.Env) (*sql.DB, error) + func ConnectWriter(ctx context.Context, env aveo.Env) (*sql.DB, error) + func PingDB(dt DBType) error + type Config struct + DBHost string + DBMaxIdleConnections int + DBMaxOpenConnections int + DBName string + DBPassword string + DBPort string + DBUser string + func NewConfig(ctx context.Context, env aveo.Env, dt string) Config + type DBType string + const DriverName + const TypeReader + const TypeWriter