Files
old-backend/routes/public_routes.go
2023-09-14 08:10:33 +02:00

15 lines
254 B
Go

package routes
import (
"gitlab.com/pactual1/backend/controllers"
"github.com/gin-gonic/gin"
)
func RegisterPublicRoutes(r *gin.Engine){
r.GET("/publicmessage", controllers.GetPublicText)
r.POST("/device_info", controllers.SaveDeviceInfofunc)
}