Documentation ¶ Index ¶ func Rescope(local, remote *url.URL) *url.URL Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Rescope ¶ func Rescope(local, remote *url.URL) *url.URL Rescope compares the local and remote URLs. If the remote url is a reference to the same host and port as the local URL with the IPv6 scope removed, it returns a pointer to the remote URL with the locally scoped host address. Types ¶ This section is empty. Source Files ¶ View all Source files urlscope.go Click to show internal directories. Click to hide internal directories.