Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Services ¶
type Services struct { DB *pg.DB Log *zap.Logger JWT *mw.JWT Mail mail.Service Mobile mobile.Service Magic magic.Service R *gin.Engine }
Services lets us bind specific services when setting up routes
func NewServices ¶
func NewServices(DB *pg.DB, Log *zap.Logger, JWT *mw.JWT, Mail mail.Service, Mobile mobile.Service, Magic magic.Service, R *gin.Engine) *Services
NewServices creates a new router services
func (*Services) SetupV1Routes ¶
func (s *Services) SetupV1Routes()
SetupV1Routes instances various repos and services and sets up the routers
Click to show internal directories.
Click to hide internal directories.