Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CDNHostname string
CDNHostname defines the CDN hostname.
View Source
var EchoInstance = echo.New()
EchoInstance defines the Echo HTTP instance.
View Source
var MailgunClient = mailgun.NewMailgun(env.RequiredEnvs("MAILGUN_DOMAIN")["MAILGUN_DOMAIN"], env.RequiredEnvs("MAILGUN_KEY")["MAILGUN_KEY"])
MailgunClient defines the client which is used for mailgun.
View Source
var MongoDatabase *mongo.Database
MongoDatabase is the MongoDB database we are using.
View Source
var S3Instance *s3.S3
S3Instance is the exported S3 instance.
Functions ¶
func CreateMongoClient ¶
func CreateMongoClient() error
CreateMongoClient is used to create the MongoDB client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.