-
I have this Custom authenitifcation middleware
```
package middlewares
import (
"context"
"net/http"
"gographql-server/constants"
"gographql-server/models"
)
// AuthMiddleware ...
…
ghost updated
3 years ago
-
I was running a python service and a go service before it, the go service handles some endpoints and proxy requests which not found to the python service. And I ran into a situation which redirect to …
-
This problem is similar to the one described in issue #125. In this case, the program panics when a relationship is defined with multiple resource types. I've forked @tanmayambre's test repository and…
-
[fasthttp](https://github.com/valyala/fasthttp) is a fast http server with zero memory allocations like httprouter. It would be great if support for fasthttp will be added to httprouter. This will giv…
-
[EN]I did everything as you write it, but when i press "Login", nothing happen :/
Can you help me ? ^^"
If needed, the website is : https://admin.hestialife.fr (i'll delete the link once the probl…
-
There currently isn't any clean way to access HttpRouter tracked routes.
### Context
I am trying to monitor (via our Graphite backend) unrouted requests.
The only way I found was to create a …
-
```
[INFO] --> Parsing Godeps metadata...
[INFO] --> Fetching github.com/julienschmidt/httprouter.
[INFO] --> Setting version for github.com/julienschmidt/httprouter to b428fda53bb0a764fea9c76c9413…
-
Something I haven't seen covered yet is a Angular/React/Vue Javascript app (SPA) using https://github.com/julienschmidt/httprouter, https://github.com/gorilla/mux or some other router to respond to al…
-
For some reason the request's response object is nil, even when using defer.
How do I log the status code the endpoint resulted with?
```
func LogHandler(h httprouter.Handle) httprouter.Handl…
-
I think ` ` (whitespace) should be encoded as `%20`,which will works on `URL` that contains whitespaces.
I test on `julienschmidt/httprouter`,the `http://127.0.0.1:3000/hell o/name` works, but `m…