package router import ( "nCovTrack-Backend/handler" "github.com/gin-gonic/gin" ) func managementPrivateRouter(router *gin.RouterGroup) { managementRouter := router.Group("/management") { managementRouter.GET("/faker/:patientId", handler.PullContactHandler) managementRouter.GET("/observation", handler.ListObservationsHandler) managementRouter.POST("/observation", handler.InsertObservationHandler) managementRouter.GET("/observation/:id", handler.GetObservationHandler) managementRouter.GET("/observation/tree/:id/:direction", handler.TreeifyObservationHandler) managementRouter.PUT("/observation", handler.UpdateObservationHandler) managementRouter.POST("/location/", handler.InsertLocationHandler) managementRouter.GET("/location/", handler.ListLocationHandler) managementRouter.DELETE("/location/", handler.DeleteLocationHandler) managementRouter.POST("/pcr/", handler.InsertPcrHandler) } }