RemoteIP return user IP address
()
| 490 | |
| 491 | // RemoteIP return user IP address |
| 492 | func (ctx *HttpContext) RemoteIP() string { |
| 493 | return ctx.request.RemoteIP() |
| 494 | } |
| 495 | |
| 496 | // SetCookieValue write cookie for name & value & maxAge |
| 497 | // default path = "/" |