RoadSign/pkg/sideload/connectivity.go

14 lines
281 B
Go
Raw Normal View History

2023-12-13 11:52:56 +00:00
package sideload
2023-12-10 04:30:34 +00:00
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
}