Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct { Router *gin.Engine Config *viper.Viper Database *mgo.Database EmailSender services.EmailSender Redis *services.Redis }
API Structure that gathers all services
func (*API) SetupIndexes ¶
func (*API) SetupRedis ¶
func (a *API) SetupRedis()
func (*API) SetupRouter ¶
func (a *API) SetupRouter()
func (*API) SetupViper ¶
func (*API) SetupViperDefaults ¶
func (a *API) SetupViperDefaults()
Click to show internal directories.
Click to hide internal directories.