certwatch

package
v0.0.0-...-7f93175 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginUpdateConfig

func BeginUpdateConfig() (pgx.Tx, error)

func Close

func Close()

func DatabaseWatcherPing

func DatabaseWatcherPing() error

func FetchIssuer

func FetchIssuer(sha256Cert [sha256.Size]byte) []byte

func GetConfig

func GetConfig() (pgx.Rows, error)

func LogPostgresError

func LogPostgresError(err error, debugCodes ...string) *pgconn.PgError

func LogPostgresFatal

func LogPostgresFatal(err error)

func NewEntriesWriter

func NewEntriesWriter(ctx context.Context)

func SetCachedIssuer

func SetCachedIssuer(ci CachedIssuer, sha256Cert [sha256.Size]byte)

Types

type CachedIssuer

type CachedIssuer struct {
	Cert *x509.Certificate
	// contains filtered or unexported fields
}

func GetCachedIssuer

func GetCachedIssuer(sha256Cert [sha256.Size]byte) (CachedIssuer, bool)

Jump to

Keyboard shortcuts

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