SEBA-258 - Added MONGODB backup
Change-Id: I2542e7dfc894dfa5a1269c6be99cfa8036b9911c
diff --git a/internal/pkg/settings/Settings.go b/internal/pkg/settings/Settings.go
index af61a28..b4eb128 100644
--- a/internal/pkg/settings/Settings.go
+++ b/internal/pkg/settings/Settings.go
@@ -18,6 +18,8 @@
var debug = false
var dummy = false
+var mongo = false
+var mongodb = ""
/*
SetDebug - sets debug setting
@@ -46,3 +48,15 @@
func GetDummy() bool {
return dummy
}
+func SetMongo(useMongo bool) {
+ mongo = useMongo
+}
+func GetMongo() bool {
+ return mongo
+}
+func SetMongodb(connectString string) {
+ mongodb = connectString
+}
+func GetMongodb() string {
+ return mongodb
+}