Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RouterSet = wire.NewSet( handlers.HandlersSet, NewPublicRouter, NewPrivateRouter, NewSwaggerRouter, )
Functions ¶
This section is empty.
Types ¶
type PrivateRouter ¶
type PrivateRouter struct {
// contains filtered or unexported fields
}
func NewPrivateRouter ¶
func NewPrivateRouter( cp *change_password_handler.ChangePasswordHandler, ce *change_email_handler.ChangeEmailHandler, cpo *handlers.ChangePhoneHandler, cop *handlers2.ConfirmPhoneHandler, coe *handlers3.ConfirmEmailHandler, me *me_handler.MeHandler, rt *handlers4.RefreshHandler, uph *handlers5.UpdateProfileHandler, ur *repositories.UserRepository, jwt *services.JWTAuthenticator, ) *PrivateRouter
func (*PrivateRouter) Setup ¶
func (r *PrivateRouter) Setup(app *fiber.App)
type PublicRouter ¶
type PublicRouter struct {
// contains filtered or unexported fields
}
func NewPublicRouter ¶
func NewPublicRouter( rc *reg_handler.RegHandler, lo *login_handler.LoginHandler, lt *logout_handler.LogoutHandler, og *otp_generate_handler.OTPGenHandler, lot *otp_login_handler.OTPLoginHandler, hch *hch.HealthCheckHandler, rch *rch.ReadyCheckHandler, ur *repositories.UserRepository, tr *repositories.TokensRepository, jwt *services.JWTAuthenticator, jwtc *configs.JWTConfig, ) *PublicRouter
func (*PublicRouter) Setup ¶
func (r *PublicRouter) Setup(app *fiber.App)
type SwaggerRouter ¶
type SwaggerRouter struct { }
func NewSwaggerRouter ¶
func NewSwaggerRouter() *SwaggerRouter
func (*SwaggerRouter) Setup ¶
func (sr *SwaggerRouter) Setup(app *fiber.App)
Setup func for describe group of API Docs routes.
Click to show internal directories.
Click to hide internal directories.