feat: able to test all enabled channels (#59)

This commit is contained in:
JustSong committed 2023-05-15 12:36:55 +08:00
1 parent b788281a9b
commit 93b00d62a6
5 files changed
+116 -13

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", controller.TestAllChannels)
channelRoute.GET("/test/:id", controller.TestChannel)
channelRoute.POST("/", controller.AddChannel)
channelRoute.PUT("/", controller.UpdateChannel)