Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + type Certificate struct + func New(options ...Option) *Certificate + func (c *Certificate) Create(userID string, createReq *apistructs.CertificateCreateRequest) (*apistructs.CertificateDTO, error) + func (c *Certificate) Delete(certificateID, orgID int64) error + func (c *Certificate) Get(certificateID int64) (*apistructs.CertificateDTO, error) + func (c *Certificate) ListAllCertificates(params *apistructs.CertificateListRequest) (*apistructs.PagingCertificateDTO, error) + func (c *Certificate) Update(certificateID int64, updateReq *apistructs.CertificateUpdateRequest) error + type Option func(*Certificate) + func WithBundle(bdl *bundle.Bundle) Option + func WithDBClient(db *dao.DBClient) Option