Nexus/pkg/internal/http/api/check_ip.go

8 lines
121 B
Go
Raw Permalink Normal View History

2024-10-19 14:36:33 +00:00
package api
import "github.com/gofiber/fiber/v2"
func getClientIP(c *fiber.Ctx) error {
return c.SendString(c.IP())
}