mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-05 12:28:55 +00:00
15 lines
266 B
Go
15 lines
266 B
Go
package controllers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/up9inc/mizu/agent/pkg/version"
|
|
"github.com/up9inc/mizu/shared"
|
|
)
|
|
|
|
func GetVersion(c *gin.Context) {
|
|
resp := shared.VersionResponse{Ver: version.Ver}
|
|
c.JSON(http.StatusOK, resp)
|
|
}
|