diff --git a/engine/engine.go b/engine/engine.go index 698a7d67..b1ed6c43 100644 --- a/engine/engine.go +++ b/engine/engine.go @@ -68,7 +68,8 @@ type ( // RemoteAddress returns the client's network address. RemoteAddress() string - // RealIP returns the client's network ip address. + // RealIP returns the client's network address based on `X-Forwarded-For` + // or `X-Real-IP` request header. RealIP() string // Method returns the request's HTTP function.