If you use Appengine with Go , Request contains the address in the RemoteAddr line field:
import ( "fmt" "net/http" ) func init() { http.HandleFunc("/", handler) } func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, r.RemoteAddr) }
ceving
source share