mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-10-22 15:58:44 +00:00
* Renamed aggregator -> apiServer. * Format errors with container names. * Renamed collector -> apiServer. * Rephrased help messages. * Moved api -> agent. * Continue renameing api -> agent in Makefile and Dockerfiles.
13 lines
263 B
Go
13 lines
263 B
Go
package controllers
|
|
|
|
import (
|
|
"github.com/gofiber/fiber/v2"
|
|
"github.com/up9inc/mizu/shared"
|
|
"mizuserver/pkg/version"
|
|
)
|
|
|
|
func GetVersion(c *fiber.Ctx) error {
|
|
resp := shared.VersionResponse{SemVer: version.SemVer}
|
|
return c.Status(fiber.StatusOK).JSON(resp)
|
|
}
|