1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 01:22:48 +00:00

added logger

This commit is contained in:
2018-04-09 23:24:19 -05:00
parent 0fe7468506
commit 3e0cd3c948
10 changed files with 245 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ func getRouter() *gin.Engine {
api.GET("/ytdownloader", handlers.Downloader)
api.GET("/soundlist", handlers.SoundList)
api.GET("/cliplist", handlers.ClipList)
api.GET("/logs", handlers.GetLogs)
api.POST("/oauth", handlers.Oauth)
authorizedAPI := router.Group("/api")