Driver is the Postgres driver.
| 45 | |
| 46 | // Driver is the Postgres driver. |
| 47 | type Driver struct { |
| 48 | config db.ConnectionConfig |
| 49 | |
| 50 | db *sql.DB |
| 51 | sshClient *ssh.Client |
| 52 | // connectionString is the connection string registered by pgx. |
| 53 | // Unregister connectionString if we don't need it. |
| 54 | connectionString string |
| 55 | databaseName string |
| 56 | connectionCtx db.ConnectionContext |
| 57 | } |
| 58 | |
| 59 | func newDriver() db.Driver { |
| 60 | return &Driver{} |
nothing calls this directly
no outgoing calls
no test coverage detected