The new version of iris.FromStd uses an error
- Dominant language
- Go
- Stars
- 25.6k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
```golang
func Hub() *iris.Application {
app := iris.New()
s := sse.New()
mvc.Configure(app.Party("/web"), func(mvc *mvc.Application) {
s.CreateStream("messages")
mvc.Router.Any("/events", iris.FromStd(s.HTTPHandler))
go func() {
ticker := time.NewTicker(time.Second * 2)
for range ticker.C {
fmt.Println("Time Out!")
s.Publish("messages",&sse.Event{
Data: []byte("ping"),
})
}
}()
mvc.Party("/audio").Register(services.NewAudioService()).Handle(new(web.AudioController))
})
return app
}
```
[HTTP Server] http: panic serving [::1]:52873: interface conversion: *context.responseWriter is not http.CloseNotifier: missing method CloseNotify
Contributor guide
Assessment
This issue has not been assessed yet.