0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2025-01-23 20:58:51 -05:00
safetwitch-backend/routes/routes.go

29 lines
642 B
Go
Raw Permalink Normal View History

2023-05-18 10:17:08 -04:00
package routes
import (
2023-05-31 19:39:07 -04:00
"safetwitch-backend/routes/api/badges"
2023-07-30 19:12:11 -04:00
"safetwitch-backend/routes/api/chat"
2023-08-21 23:28:23 -04:00
"safetwitch-backend/routes/api/clips"
2023-05-26 10:17:55 -04:00
"safetwitch-backend/routes/api/discover"
2023-06-06 08:31:12 -04:00
"safetwitch-backend/routes/api/search"
2023-05-26 10:17:55 -04:00
"safetwitch-backend/routes/api/users"
2023-07-04 20:54:12 -04:00
"safetwitch-backend/routes/api/vods"
2023-05-22 18:11:58 -04:00
"safetwitch-backend/routes/proxy"
2023-05-25 21:04:15 -04:00
"safetwitch-backend/routes/root"
2023-05-18 10:17:08 -04:00
"github.com/gin-gonic/gin"
)
func SetRoutes(router *gin.Engine) {
users.Routes(router)
2023-05-26 10:17:55 -04:00
discover.Routes(router)
2023-05-31 19:39:07 -04:00
badges.Routes(router)
2023-06-06 08:31:12 -04:00
search.Routes(router)
2023-07-04 20:54:12 -04:00
vods.Routes(router)
2023-07-30 19:12:11 -04:00
chat.Routes(router)
2023-08-21 23:28:23 -04:00
clips.Routes(router)
2023-05-26 10:17:55 -04:00
2023-05-22 18:11:58 -04:00
proxy.Routes(router)
2023-05-25 21:04:15 -04:00
root.Routes(router)
2023-05-18 10:17:08 -04:00
}