Documentation ¶ Index ¶ func NewDB(driverName string, dataSourceName string, logger log.Logger) (store.DB, error) type DB func (db *DB) Delete(id int) error func (db *DB) Insert(crt certs.CRT) error func (db *DB) Revoke(id int, revocationDate string) error func (db *DB) Serial() (*big.Int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDB ¶ func NewDB(driverName string, dataSourceName string, logger log.Logger) (store.DB, error) Types ¶ type DB ¶ type DB struct { *sql.DB // contains filtered or unexported fields } func (*DB) Delete ¶ func (db *DB) Delete(id int) error func (*DB) Insert ¶ func (db *DB) Insert(crt certs.CRT) error func (*DB) Revoke ¶ func (db *DB) Revoke(id int, revocationDate string) error func (*DB) Serial ¶ func (db *DB) Serial() (*big.Int, error) Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.