2023-12-10 04:30:34 +00:00
|
|
|
package administration
|
|
|
|
|
|
|
|
import (
|
|
|
|
roadsign "code.smartsheep.studio/goatworks/roadsign/pkg"
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
func responseConnectivity(c *fiber.Ctx) error {
|
2023-12-10 04:43:47 +00:00
|
|
|
return c.Status(fiber.StatusOK).JSON(fiber.Map{
|
|
|
|
"server": "RoadSign",
|
|
|
|
"version": roadsign.AppVersion,
|
|
|
|
})
|
2023-12-10 04:30:34 +00:00
|
|
|
}
|