Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Router *gin.Engine MRouter *gin.Engine MongoClient *mongo.Client Config *appConfig PubSub *notify.Pubsub }
App is the core of the application holding all the necessary components
func (*App) Initialize ¶
func (a *App) Initialize()
Initialize is the function to initialize the application, loads config connects to database etc.
func (*App) StartNotificationService ¶
func (a *App) StartNotificationService()
StartNotificationService starts notification service to recieve user events and send notification
Click to show internal directories.
Click to hide internal directories.