I open a port 80 and a unix socket to listen http request simultaneously. I would like to determine where is the request coming from so that the request from unix socket is no need to be authorized. Maybe the first problem is to know the listener from http.ResponseWriter or *http.Request. I guess. Is there any workaround or idiomatic manner to find the listener ? Any idea?
-- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.