Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSQLiteRepo ¶
NewSQLiteRepo creates a TppRepository backed by SQLite, using the given database file path.
Types ¶
type TppSqliteRepository ¶
type TppSqliteRepository struct {
// contains filtered or unexported fields
}
func NewTppSqliteRepository ¶
func NewTppSqliteRepository(db *sql.DB) *TppSqliteRepository
func (*TppSqliteRepository) AddCertificate ¶
func (r *TppSqliteRepository) AddCertificate(ctx context.Context, c *cert.ParsedCert) error
func (*TppSqliteRepository) GetRootCertificates ¶
func (r *TppSqliteRepository) GetRootCertificates(ctx context.Context) ([]string, error)
Click to show internal directories.
Click to hide internal directories.