package testdb
import "github.com/cloudflare/cfssl/certdb/testdb"
Index ¶
- func MySQLDB() *sqlx.DB
- func PostgreSQLDB() *sqlx.DB
- func SQLiteDB(dbpath string) *sqlx.DB
- func Truncate(db *sqlx.DB)
Functions ¶
func MySQLDB ¶
MySQLDB returns a MySQL db instance for certdb testing.
func PostgreSQLDB ¶
PostgreSQLDB returns a PostgreSQL db instance for certdb testing.
func SQLiteDB ¶
SQLiteDB returns a SQLite db instance for certdb testing.
func Truncate ¶
Truncate truncates the DB
Source Files ¶
- Version
- v1.6.2
- Published
- Aug 24, 2022
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 2 minutes ago –
Tools for package owners.