{"id":51910,"library":"tomasen-realip","title":"RealIP","description":"A Go package to extract the real client IP address from HTTP requests, considering proxies.","status":"active","version":"0.0.0-20180522021738-f0c99a92ddce","language":"go","source_language":null,"source_url":"https://github.com/tomasen/realip","tags":["ip","http","proxy","middleware"],"install":[{"cmd":"go get github.com/tomasen/realip","lang":"bash","label":"Install github.com/tomasen/realip"}],"dependencies":[],"imports":[{"symbol":"realip","correct":"github.com/tomasen/realip"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/tomasen/realip\"\n)\n\nfunc handler(w http.ResponseWriter, r *http.Request) {\n\tfmt.Fprintf(w, \"Your IP is: %s\", realip.FromRequest(r))\n}\n\nfunc main() {\n\thttp.HandleFunc(\"/\", handler)\n\thttp.ListenAndServe(\":8080\", nil)\n}","lang":"go","description":"Get the real IP from an HTTP request"},"warnings":[],"env_vars":null,"search_vec":"'address':11 'client':9 'consid':15 'extract':6 'go':3 'http':13,18 'ip':10,17 'middlewar':20 'packag':4 'proxi':16,19 'real':8 'realip':1 'request':14","created_at":"2026-06-15T06:34:20.816190+00:00","updated_at":"2026-06-15T06:34:20.816190+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/tomasen/realip","github":"https://github.com/tomasen/realip","docs":"https://pkg.go.dev/github.com/tomasen/realip#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}