RoadSign/pkg/sideload/metadata.go
2024-09-29 23:03:11 +08:00

14 lines
266 B
Go

package sideload
import (
roadsign "git.solsynth.dev/goatworks/roadsign/pkg"
"github.com/gofiber/fiber/v2"
)
func getMetadata(c *fiber.Ctx) error {
return c.Status(fiber.StatusOK).JSON(fiber.Map{
"server": "RoadSign",
"version": roadsign.AppVersion,
})
}