Package list golang-github-go-kit-kit / e724d37
fix typo Victor Vrantchan 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1616 bearerFormat string = "Bearer %s"
1717 )
1818
19 // ToHTTPContext moves JWT token from request header to contexti. Particularly
19 // ToHTTPContext moves JWT token from request header to context. Particularly
2020 // useful for servers
2121 func ToHTTPContext() http.RequestFunc {
2222 return func(ctx context.Context, r *stdhttp.Request) context.Context {