mirror of
https://github.com/safing/portbase
synced 2025-09-15 09:39:50 +00:00
Revamp module structure
- Add shutdown mechanics to module - Adapt dbmodule to new mechanics
This commit is contained in:
parent
090669728d
commit
402429cd70
11 changed files with 108 additions and 37 deletions
|
@ -23,7 +23,7 @@ var (
|
|||
databasesStructure *utils.DirStructure
|
||||
)
|
||||
|
||||
// Initialize initialized the database at the specified location. Supply either a path or dir structure.
|
||||
// Initialize initializes the database at the specified location. Supply either a path or dir structure.
|
||||
func Initialize(dirPath string, dirStructureRoot *utils.DirStructure) error {
|
||||
if initialized.SetToIf(false, true) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue