patchman/client/api/osInfo.go

14 lines
192 B
Go
Raw Permalink Normal View History

2023-10-22 16:11:13 +02:00
package api
import (
"git.jmbit.de/jmb/patchman/client/utils"
"github.com/gin-gonic/gin"
)
func getOSInfo(c *gin.Context) {
c.JSON(200, utils.GetOSInfo())
}
//TODO add update mechanism