working commit

This commit is contained in:
2026-06-05 18:35:25 +02:00
parent 16c52424ed
commit 557aea269d
13 changed files with 82 additions and 73 deletions
+5 -5
View File
@@ -11,8 +11,8 @@ import (
"time"
"mbase/app/config"
"mbase/app/database"
"mbase/app/descriptor"
"mbase/app/maindb"
"mbase/app/descr"
"mbase/app/logic"
"mbase/pkg/aux509"
"mbase/pkg/logger"
@@ -32,10 +32,10 @@ type Server struct {
log *logger.Logger
nacl *netacl.NetACL
db *database.Database
db *maindb.Database
x509cert []byte
x509key []byte
state descriptor.Server
state descr.Server
sfile string
}
@@ -164,7 +164,7 @@ func (srv *Server) Build() error {
srv.log.Infof("Network ACL is:\n%s\n", string(naclYAML))
// Create database
srv.db, err = database.NewDatabase(srv.conf.DataDir)
srv.db, err = maindb.NewDatabase(srv.conf.DataDir)
err = srv.db.OpenDatabase()
if err != nil {