router

package
v0.0.0-...-3cd2d05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL