2014-04-26 09:18:56 +00:00
|
|
|
package ConfigurationDB
|
|
|
|
|
2014-10-19 17:19:11 +00:00
|
|
|
import (
|
|
|
|
"github.com/SommerEngineering/Ocean/Configuration/Meta"
|
|
|
|
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
|
|
|
"gopkg.in/mgo.v2"
|
|
|
|
)
|
2014-04-26 09:18:56 +00:00
|
|
|
|
|
|
|
var (
|
2015-06-17 15:44:52 +00:00
|
|
|
session *mgo.Session = nil // The database session
|
|
|
|
db *mgo.Database = nil // The database
|
|
|
|
collection *mgo.Collection = nil // The database collection
|
|
|
|
config Meta.Configuration = Meta.Configuration{} // The configuration file's data
|
|
|
|
senderName LM.Sender = `System::ConfigurationDB` // This is the name for logging event from this package
|
2014-04-26 09:18:56 +00:00
|
|
|
)
|