Versions in this module Expand all Collapse all v0 v0.0.2 Jun 7, 2020 v0.0.1 May 29, 2020 Changes in this version + var ErrCertExists = errors.New("cert with that id exists") + var ErrCertNotFound = errors.New("cert not found") + type Repository interface + AllCerts func() ([]*model.Certificate, error) + Cert func(id string) (*model.Certificate, error) + DeleteAllCerts func() error + DeleteCert func(id string) error + SaveCert func(c *model.Certificate) error + type Service interface + AllCerts func() ([]*model.Certificate, error) + Cert func(id string) (*model.Certificate, error) + DeleteAllCerts func() error + DeleteCert func(id string) error + SaveCert func(c *model.Certificate) error