log.Printf("HERE: %s", r.Host)
log.Printf("HERE: %s", r.RemoteAddr)
log.Printf("HERE: %s", r.Header.Get("X-Forwarded-For"))
Thursday, April 21, 2016
get client information IP address
Subscribe to:
Post Comments (Atom)
log.Printf("HERE: %s", r.Host)
log.Printf("HERE: %s", r.RemoteAddr)
log.Printf("HERE: %s", r.Header.Get("X-Forwarded-For"))
No comments:
Post a Comment