-
## Description
Using the function `SSEvent` sends back the status code as `-1`. Code: https://github.com/gin-gonic/gin/blob/master/context.go#L1060
https://github.com/gin-gonic/gin/blob/caf2802593…
-
Currently if you include other gin files with a statement `include path/to/file` the path can be either absolute or relative to the folder the code is running in.
The config file however should be …
-
Hello. There is something wrong when I run `godep go build . ` as below.
$godep go build .
simple-k8s-scheduler-extender
./main.go:15: cannot use api.PrioritizeHandler (type func(*"github.com/…
-
Main goal would be to define the `Objective` analogous to kopt' `CompileFN` but now using the gin-config. Arguments of Objective would be same as arguments to `gin_train` but where the gin-config file…
-
## Description
This code works fine. However, an error will be reported when the user cancels the upload in the middle of the upload
## How to reproduce
```
func main() {
r := gin.Default(…
-
- With issues:
### router
```go
apiv1.GET("/videos/:vid-id", ProxyVideoHandler)
apiv1.POST("/upload/:vid-id", ProxyVideoHandler)
```
### handler
```go
func ProxyVideoHandler(c *gin.Context) …
-
## Description
Could I intercept the response before it's sent? Similar to "PreSendResponse". This is a common requirement as there may be a possibility of failure after calling the middleware's `c…
-
uname -v
#35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018
gin run app.go
[gin] Listening on port 3000
[gin] Building...
panic: runtime error: invalid memory address or nil pointer dereferen…
-
I have the server installed in my computer and two raspberry monitoring passively the environment. I retrieve the data by the command line using the api commands as
```
http GET localhost:8005/ap…
-
Now i can only run gin gonic or gosf server not them both