Documentation ¶
Index ¶
- type UserRepo
- func (repo UserRepo) DeleteTokenUser(ctx context.Context, userToken *models.UserToken) error
- func (repo UserRepo) DestroyFile(ctx context.Context, filename string) error
- func (repo UserRepo) EmailForgotSender(ctx context.Context, user *models.User, token *models.UserToken) error
- func (repo UserRepo) EmailVerfiedSender(ctx context.Context, user *models.User, token *models.UserToken) error
- func (repo UserRepo) ForgotPassByEmailPublish(ctx context.Context, user *models.User) error
- func (repo UserRepo) GenerateTokenUser(ctx context.Context, user *models.User) (string, error)
- func (Repo *UserRepo) GetFile(ctx context.Context, url string) ([]byte, error)
- func (repo UserRepo) GetTokenUser(ctx context.Context, userToken *models.UserToken) (*[]models.UserToken, error)
- func (repo UserRepo) InsertTokenUser(ctx context.Context, token *models.UserToken) (*models.UserToken, error)
- func (repo UserRepo) InsertUser(ctx context.Context, user *models.User) (*models.User, error)
- func (repo UserRepo) RetrieveFile(ctx context.Context, filename string) (*admin.AssetResult, error)
- func (repo UserRepo) SelectUserDetail(ctx context.Context, user *models.User) (*models.User, error)
- func (repo UserRepo) SelectUserDetailByEmail(ctx context.Context, user *models.User) (*models.User, error)
- func (repo UserRepo) StoreFile(ctx context.Context, file multipart.File) (string, error)
- func (repo UserRepo) UpdateUser(ctx context.Context, ID uint, user *models.User) (*models.User, error)
- func (repo UserRepo) VerifiedEmailPublish(ctx context.Context, user *models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepo ¶
func (UserRepo) DeleteTokenUser ¶
func (UserRepo) DestroyFile ¶
func (UserRepo) EmailForgotSender ¶
func (UserRepo) EmailVerfiedSender ¶
func (UserRepo) ForgotPassByEmailPublish ¶
func (UserRepo) GenerateTokenUser ¶
func (UserRepo) GetTokenUser ¶
func (UserRepo) InsertTokenUser ¶
func (UserRepo) InsertUser ¶
func (UserRepo) RetrieveFile ¶
func (UserRepo) SelectUserDetail ¶
func (UserRepo) SelectUserDetailByEmail ¶
func (UserRepo) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.