add new route
continuous-integration/drone/push Build is passing

This commit is contained in:
Jay
2021-06-21 22:18:13 +08:00
parent 08e0607a88
commit c07a1a8c9f
4 changed files with 27 additions and 12 deletions
+1
View File
@@ -124,6 +124,7 @@ func SetRoutes(r *gin.Engine) {
{
twitchApis.GET("/login", context.PatchCtx(twitch.OAuthLogin))
twitchApis.GET("/oauth", context.PatchCtx(twitch.OAuthProc))
twitchApis.POST("/send", context.PatchCtx(twitch.SendToChannel))
}
// set pprof router