1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

grammar and readme additions 📕

Former-commit-id: f63083ed6924b4ed13ea9585501b0c032c1194c1
This commit is contained in:
hiveminded
2017-07-28 13:58:02 +03:00
parent 345e7280a1
commit 5855568794
3 changed files with 5 additions and 7 deletions

View File

@@ -222,9 +222,6 @@ func (s *Server) handleConnection(ctx context.Context, websocketConn UnderlineCo
// OnConnection is the main event you, as developer, will work with each of the websocket connections.
func (s *Server) OnConnection(cb ConnectionFunc) {
if s.handler == nil {
}
s.onConnectionListeners = append(s.onConnectionListeners, cb)
}