type URL struct {
Scheme string
Opaque string // encoded opaque data
User *Userinfo // username and password information
Host string // host or host:port
Path string
RawQuery string // encoded query values, without '?'
Fragment string // fragment for references, without '#'
}Host string // host or host:port
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The only place I keep running in to problems with this kind of thing is the RemoteIP field in http.Request. I forget pretty much every time that it's actually the IP *and* port. Unfortunate naming :(
Host string // host or host:port