Selaa lähdekoodia

handleMessage

yaotian 8 vuotta sitten
vanhempi
commit
28d445a2fa
3 muutettua tiedostoa jossa 0 lisäystä ja 6 poistoa
  1. 0 2
      examples/beego/beego.go
  2. 0 2
      examples/gin/gin.go
  3. 0 2
      examples/http/http.go

+ 0 - 2
examples/beego/beego.go

@@ -41,8 +41,6 @@ func hello(ctx *context.Context) {
 		fmt.Println(err)
 		return
 	}
-	//发送回复的消息
-	msgHandler.Send()
 }
 
 func main() {

+ 0 - 2
examples/gin/gin.go

@@ -48,6 +48,4 @@ func hello(c *gin.Context) {
 		fmt.Println(err)
 		return
 	}
-	//发送回复的消息
-	msgHandler.Send()
 }

+ 0 - 2
examples/http/http.go

@@ -41,8 +41,6 @@ func hello(rw http.ResponseWriter, req *http.Request) {
 		fmt.Println(err)
 		return
 	}
-	//发送回复的消息
-	msgHandler.Send()
 }
 
 func main() {