IP

Returns the remote IP address of the request.

  1. func (c *Ctx) IP() string
  1. app.Get("/", func(c *fiber.Ctx) error {
  2. c.IP() // "127.0.0.1"
  3. // ...
  4. })