mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-26 12:29:13 +00:00
* WIP * WIP * WIP * Update socket_server_handlers.go and socket_routes.go * Fix stuck sockets * Update go.mod, go.sum, and 5 more files... * Update socket_routes.go * Update Dockerfile, go.sum, and fiber_middleware.go * fix analyze Co-authored-by: RamiBerm <rami.berman@up9.com>
14 lines
253 B
Go
14 lines
253 B
Go
package controllers
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/up9inc/mizu/shared"
|
|
"mizuserver/pkg/version"
|
|
"net/http"
|
|
)
|
|
|
|
func GetVersion(c *gin.Context) {
|
|
resp := shared.VersionResponse{SemVer: version.SemVer}
|
|
c.JSON(http.StatusOK, resp)
|
|
}
|