14 lines
192 B
Go
14 lines
192 B
Go
|
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
|