0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-22 13:13:00 -05:00
safetwitch-backend/routes/routes.go

29 lines
642 B
Go
Raw Normal View History

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