Driver is the Postgres driver.
| 51 | |
| 52 | // Driver is the Postgres driver. |
| 53 | type Driver struct { |
| 54 | config db.ConnectionConfig |
| 55 | |
| 56 | db *sql.DB |
| 57 | sshClient *ssh.Client |
| 58 | // connectionString is the connection string registered by pgx. |
| 59 | // Unregister connectionString if we don't need it. |
| 60 | connectionString string |
| 61 | databaseName string |
| 62 | datashare bool |
| 63 | } |
| 64 | |
| 65 | func newDriver() db.Driver { |
| 66 | return &Driver{} |
nothing calls this directly
no outgoing calls
no test coverage detected