rs / xmux

xmux is a httprouter fork on top of xhandler (net/context aware)
Other
98 stars 11 forks source link

Auth and sessions? #1

Closed jcmartins closed 8 years ago

jcmartins commented 8 years ago

How can I do Authentication and Session control?

tks

rs commented 8 years ago

Here is an example: https://github.com/rs/xmux#basic-authentication

You may also use any existing auth middleware with xhandler.Chain.