(Feat): Initial Commit
This commit is contained in:
35
internal/api/handlers/handlers.go
Normal file
35
internal/api/handlers/handlers.go
Normal file
@@ -0,0 +1,35 @@
|
||||
// Code generated by go run -tags scripts scripts/handlers/gen_handlers.go; DO NOT EDIT.
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"allaboutapps.dev/aw/go-starter/internal/api"
|
||||
"allaboutapps.dev/aw/go-starter/internal/api/handlers/auth"
|
||||
"allaboutapps.dev/aw/go-starter/internal/api/handlers/common"
|
||||
"allaboutapps.dev/aw/go-starter/internal/api/handlers/push"
|
||||
"allaboutapps.dev/aw/go-starter/internal/api/handlers/wellknown"
|
||||
"github.com/labstack/echo/v4"
|
||||
)
|
||||
|
||||
func AttachAllRoutes(s *api.Server) {
|
||||
// attach our routes
|
||||
s.Router.Routes = []*echo.Route{
|
||||
auth.DeleteUserAccountRoute(s),
|
||||
auth.GetCompleteRegisterRoute(s),
|
||||
auth.GetUserInfoRoute(s),
|
||||
auth.PostChangePasswordRoute(s),
|
||||
auth.PostCompleteRegisterRoute(s),
|
||||
auth.PostForgotPasswordCompleteRoute(s),
|
||||
auth.PostForgotPasswordRoute(s),
|
||||
auth.PostLoginRoute(s),
|
||||
auth.PostLogoutRoute(s),
|
||||
auth.PostRefreshRoute(s),
|
||||
auth.PostRegisterRoute(s),
|
||||
common.GetHealthyRoute(s),
|
||||
common.GetReadyRoute(s),
|
||||
common.GetSwaggerRoute(s),
|
||||
common.GetVersionRoute(s),
|
||||
push.PutUpdatePushTokenRoute(s),
|
||||
wellknown.GetAndroidDigitalAssetLinksRoute(s),
|
||||
wellknown.GetAppleAppSiteAssociationRoute(s),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user