Files
old-backend/routes/public_routes.go

15 lines
254 B
Go
Raw Normal View History

package routes
import (
2023-09-11 08:08:24 +02:00
"gitlab.com/pactual1/backend/controllers"
2023-09-11 08:08:24 +02:00
2023-09-06 11:58:33 +02:00
"github.com/gin-gonic/gin"
)
func RegisterPublicRoutes(r *gin.Engine){
r.GET("/publicmessage", controllers.GetPublicText)
2023-09-12 18:28:18 +02:00
r.POST("/device_info", controllers.SaveDeviceInfofunc)
}