Versions in this module Expand all Collapse all v0 v0.1.0 Feb 13, 2023 Changes in this version + var DB *gorm.DB + var ErrDeleteFailed = fmt.Errorf("db delete error") + var ErrInsertFailed = fmt.Errorf("db insert error") + var ErrNotFound = fmt.Errorf("record Not Found") + var ErrUpdateFailed = fmt.Errorf("db update error") + func AddForbid(db *gorm.DB, record *model.Forbid) (result *model.Forbid, RowsAffected int64, err error) + func Copy(dst interface{}, src interface{}) error + func GetAllCertificates(db *gorm.DB, page, pagesize int, order string) (results []*model.Certificates, totalRows int64, err error) + func GetAllForbid(db *gorm.DB, page, pagesize int, order string) (results []*model.Forbid, totalRows int64, err error) + func GetForbid(db *gorm.DB) (record *model.Forbid, err error) + func GetOcspResponses(db *gorm.DB, argId string) (record *model.OcspResponses, err error) + func GetSelfKeypair(db *gorm.DB, argId uint32) (record *model.SelfKeypair, err error)