feat: management && notify
This commit is contained in:
17
router/management.go
Normal file
17
router/management.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"nCovTrack-Backend/handler"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func managementPublicRouter(router *gin.RouterGroup) {
|
||||
managementRouter := router.Group("/management")
|
||||
{
|
||||
managementRouter.GET("/observation/contact/pull/:patientId", handler.PullContactHandler)
|
||||
managementRouter.GET("/observation", handler.ListObservationsHandler)
|
||||
managementRouter.POST("/observation", handler.InsertObservationHandler)
|
||||
managementRouter.GET("/observation/:id", handler.GetObservationHandler)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user