make pogreb config and move code

This commit is contained in:
6543 2023-02-09 14:21:26 +01:00
parent 513e79832a
commit 3166b05107
4 changed files with 30 additions and 12 deletions

View file

@ -82,7 +82,7 @@ func (p aDB) sync() {
}
}
func New(path string) (CertDB, error) {
func NewPogreb(path string) (CertDB, error) {
if path == "" {
return nil, fmt.Errorf("path not set")
}