These are chat archives for gin-gonic/gin

5th
Aug 2015
Chris
@ChristopherRabotin
Aug 05 2015 11:33
@brodock , you can get the request headers from the context. For example if you have a function handler, you'd get them from c.Request.Headers, e.g. https://github.com/ChristopherRabotin/gin-contrib-headerauth/blob/master/headerauth.go#L33 .