dmsdb

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MPL-2.0 Imports: 8 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) SelectByDMSIDAuthorizedCAs

func (db *DB) SelectByDMSIDAuthorizedCAs(ctx context.Context, dmsid string) ([]dms.AuthorizedCAs, error)

func (*DB) SelectBySerialNumber

func (db *DB) SelectBySerialNumber(ctx context.Context, SerialNumber string) (string, error)

Jump to

Keyboard shortcuts

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