Versions in this module Expand all Collapse all v1 v1.1.1 Nov 11, 2022 Changes in this version + func NewStorage(ctx context.Context, db DB, options Options) (certmagic.Storage, error) + type DB interface + BeginTx func(context.Context, *sql.TxOptions) (*sql.Tx, error) + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type Database int + const Postgres + type Options struct + Database Database + LockTimeout time.Duration + QueryTimeout time.Duration v1.1.0 Jun 10, 2021