Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoClient *mongo.Client
View Source
var Mongodb *mongo.Database
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { App app `yaml:"app"` Databases map[string]database `yaml:"databases"` // contains filtered or unexported fields }
func (*Environment) InitMongoDB ¶
func (*Environment) LoadConfig ¶
func (env *Environment) LoadConfig()
func (*Environment) SetEnvironment ¶
func (env *Environment) SetEnvironment()
Click to show internal directories.
Click to hide internal directories.