Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUCCESS = "SUCCESS" FAILED = "FAILED" )
Variables ¶
View Source
var ( SrvPort = ":8080" SrvName = "NotificationApp" ComponentName = "NotificationApp" Api = ComponentName + "-api" Database = ComponentName + "-db" Channel = ComponentName + "-channel" Template = ComponentName + "-template" )
View Source
var ( LogLevel = logger.GetLevel(os.Getenv("SERVICE_LOG_LEVEL")) EmailSMTPHost = os.Getenv("SESHOST") EmailSMTPPort, _ = strconv.Atoi(os.Getenv("SESPORT")) EmailSMTPUser = os.Getenv("SESUSER") EmailSMTPPass = os.Getenv("SESPASSWORD") EmailSMTPFrom = os.Getenv("SESFROM") EmailSMTPSender = os.Getenv("SESSENDER") EmailSMTPTLS = os.Getenv("SESTLS") SMSAccessKey = os.Getenv("SNSACCESSKEY") SMSSecretKey = os.Getenv("SNSSECRETKEY") SMSRegion = os.Getenv("SNSREGION") MongoUsername = os.Getenv("MONGODBUSER") MongoPassword = os.Getenv("MONGODBPASSWORD") MongoDB = os.Getenv("MONGODB") MongoHost = os.Getenv("MONGODBHOST") MongoCollection = os.Getenv("MONGODBCOLLECTION") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.