Dealer/pkg/internal/server/api/check_ip.go

8 lines
121 B
Go
Raw Normal View History

2024-09-21 12:03:37 +00:00
package api
import "github.com/gofiber/fiber/v2"
func getClientIP(c *fiber.Ctx) error {
return c.SendString(c.IP())
}