Documentation ¶
Overview ¶
Package router defines all the API path
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJourneyRouter ¶
func NewJourneyRouter(logger *zap.SugaredLogger, cfg *configuration.Config, mainRouter *gin.Engine, jUsecase domain.JourneyUsecase)
NewJourneyRouter creates a new router for journeys.
@param logger - The logger to log to. @param cfg - The configuration of the application. Can be nil. @param mainRouter - The Gin Engine to add routes to. @param jUsecase - The domain.JourneyUsecase to use
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.