FAQ
Given a website with the following structure:

http://domain/ <-- ASP Website
http://domain/A <-- ASP Website
http://domain/B <-- Go Service
http://domain/B/A <-- Go Service

How would one make a visit to "/B/A" automatically return everything under
"/A"? Would this be a case for using the "NewSingleHostReverseProxy"
function in "net/http/httputil", or, would multiple HandleFuncs better
achieve the desired routing? If the latter, how would that even work,
given that "/A" is not part of the Go service? I'm guessing Go's proxy is
what's needed, but it's unclear how to use it in this scenario.

Sorry if this is elementary.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 21, '13 at 3:21a
activeMay 21, '13 at 3:21a
posts1
users1
websitegolang.org

1 user in discussion

Gjwatersjr: 1 post

People

Translate

site design / logo © 2022 Grokbase