Dealer/pkg/internal/server/api/check_ip.go
2024-09-21 20:03:37 +08:00

8 lines
121 B
Go

package api
import "github.com/gofiber/fiber/v2"
func getClientIP(c *fiber.Ctx) error {
return c.SendString(c.IP())
}