db

package
v0.0.0-...-4b57445 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func InitDB

func InitDB() error

func NextSerial

func NextSerial() int64

Types

type SignedCertificate

type SignedCertificate struct {
	ID int64 `gorm:"primaryKey"`

	NotBefore time.Time
	NotAfter  time.Time

	Issuer  pkix.Name `gorm:"serializer:json"`
	Subject pkix.Name `gorm:"serializer:json"`
}

Jump to

Keyboard shortcuts

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