feat: able to test channels now (#59)

This commit is contained in:
JustSong committed 2023-05-15 10:48:52 +08:00
1 parent bfcb9b887e
commit d0d3142edb
4 files changed
+133 -1

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ func SetApiRouter(router *gin.Engine) {
channelRoute.GET("/", controller.GetAllChannels)
channelRoute.GET("/search", controller.SearchChannels)
channelRoute.GET("/:id", controller.GetChannel)
channelRoute.GET("/test/:id", controller.TestChannel)
channelRoute.POST("/", controller.AddChannel)
channelRoute.PUT("/", controller.UpdateChannel)
channelRoute.DELETE("/:id", controller.DeleteChannel)