db

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2021 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL