Files
old-backend/routes/public_routes.go

14 lines
250 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"
)
2023-09-18 12:27:40 +02:00
func RegisterPublicRoutes(r *gin.Engine) {
r.GET("/publicmessage", controllers.GetPublicText)
r.POST("/device_info", controllers.SaveDeviceInfo)
}