Documentation ¶
Index ¶
- func BeginUpdateConfig() (pgx.Tx, error)
- func Close()
- func DatabaseWatcherPing() error
- func FetchIssuer(sha256Cert [sha256.Size]byte) []byte
- func GetConfig() (pgx.Rows, error)
- func LogPostgresError(err error, debugCodes ...string) *pgconn.PgError
- func LogPostgresFatal(err error)
- func NewEntriesWriter(ctx context.Context)
- func SetCachedIssuer(ci CachedIssuer, sha256Cert [sha256.Size]byte)
- type CachedIssuer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginUpdateConfig ¶
func BeginUpdateConfig() (pgx.Tx, error)
func DatabaseWatcherPing ¶
func DatabaseWatcherPing() error
func LogPostgresFatal ¶
func LogPostgresFatal(err error)
func NewEntriesWriter ¶
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)
Click to show internal directories.
Click to hide internal directories.