Documentation
¶
Index ¶
- func InitDeleteUser(db *sqlx.DB, repo domain.UserRepo, cache domain.Cache) *handler.DeleteUser
- func InitGetAccount(db *sqlx.DB, repo *repository.Repository) *handler.GetAccount
- func InitGetNotification(cache domain.Cache, repo *repository.Repository, db *sqlx.DB) *handler.GetNotification
- func InitGetNotifications(db *sqlx.DB, repo *repository.Repository) *handler.GetNotifications
- func InitGetUncheckedNotificationCount(db *sqlx.DB, cache domain.Cache, repo domain.NotificationRepo) *handler.GetUncheckedNotificationCount
- func InitGetUsers(db *sqlx.DB, repo *repository.Repository, jwter domain.TokenGenerator) *handler.GetUsers
- func InitHealthCheck() *handler.HealthCheck
- func InitRegisterTemporaryUser(db *sqlx.DB, rep domain.UserRepo, cache domain.Cache) *handler.RegisterTemporaryUser
- func InitRegisterUser(db *sqlx.DB, rep domain.UserRepo, cache domain.Cache, ...) *handler.RegisterUser
- func InitResetPassword(db *sqlx.DB, rep domain.UserRepo) *handler.ResetPassword
- func InitSendPoint(repo *repository.Repository, db *sqlx.DB, cache domain.Cache) *handler.SendPoint
- func InitSignin(db *sqlx.DB, rep domain.UserRepo, cache domain.Cache, ...) *handler.Signin
- func InitSignout(cache domain.Cache) *handler.Signout
- func InitUpdateAccount(db *sqlx.DB, repo domain.UserRepo) *handler.UpdateAccount
- func InitUpdateEmail(db *sqlx.DB, cache domain.Cache, repo domain.UserRepo) *handler.UpdateEmail
- func InitUpdatePassword(db *sqlx.DB, repo domain.UserRepo) *handler.UpdatePassword
- func InitUpdateTemporaryEmail(db *sqlx.DB, cache domain.Cache, repo domain.UserRepo) *handler.UpdateTemporaryEmail
- func SetRouting(ctx context.Context, db *sqlx.DB, router *gin.Engine, cfg *config.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDeleteUser ¶
func InitGetAccount ¶
func InitGetAccount(db *sqlx.DB, repo *repository.Repository) *handler.GetAccount
func InitGetNotification ¶
func InitGetNotification(cache domain.Cache, repo *repository.Repository, db *sqlx.DB) *handler.GetNotification
func InitGetNotifications ¶
func InitGetNotifications(db *sqlx.DB, repo *repository.Repository) *handler.GetNotifications
func InitGetUncheckedNotificationCount ¶
func InitGetUncheckedNotificationCount(db *sqlx.DB, cache domain.Cache, repo domain.NotificationRepo) *handler.GetUncheckedNotificationCount
func InitGetUsers ¶
func InitGetUsers(db *sqlx.DB, repo *repository.Repository, jwter domain.TokenGenerator) *handler.GetUsers
func InitHealthCheck ¶
func InitHealthCheck() *handler.HealthCheck
func InitRegisterUser ¶
func InitRegisterUser(db *sqlx.DB, rep domain.UserRepo, cache domain.Cache, jwter domain.TokenGenerator) *handler.RegisterUser
func InitResetPassword ¶
func InitSendPoint ¶
func InitSendPoint(repo *repository.Repository, db *sqlx.DB, cache domain.Cache) *handler.SendPoint
func InitSignin ¶
func InitUpdateAccount ¶
func InitUpdateEmail ¶
func InitUpdatePassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.