mirror of
https://github.com/komari-monitor/komari.git
synced 2025-11-22 23:32:00 +00:00
15 lines
232 B
Go
15 lines
232 B
Go
package api
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func GetClientRecentRecords(c *gin.Context) {
|
|
uuid := c.Param("uuid")
|
|
if uuid == "" {
|
|
RespondError(c, 400, "UUID is required")
|
|
return
|
|
}
|
|
RespondSuccess(c, Records[uuid])
|
|
}
|