使用iris+bootstrap报错
// SetupWebsockets prepares the websocket server.
func (b *Bootstrapper) SetupWebsockets(endpoint string, onConnection websocket.ConnectionFunc) {
   ws := websocket.New(websocket.Config{})
   ws.OnConnection(onConnection)
   b.Get(endpoint, ws.Handler())
   b.Any("/iris-ws.js", func(ctx iris.Context) {
      ctx.Write(websocket.ClientSource)
   })
}bootstrapper.go这个文件 71行 报错 找不到
websocket ConnectionFunc 这个类型 我是初学者 希望老师解答一下 谢谢

 
                            