I found a comment on this mailing list that said it's possible to use a
custom mux for http.listening and have that mux delegate to the default mux
for authorized users, however, there's no code samples.

Can someone show

a) where check for authorized users would take place
b) how to default to default mux in case of authorized users and, if not
authorized, continue with custom mux

Thank you

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/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
postedFeb 21, '15 at 4:42p
activeFeb 21, '15 at 4:42p

1 user in discussion

Randy Schmo: 1 post



site design / logo © 2022 Grokbase