Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { CreateUser(registrationApp domain.RegistrationApp) (*domain.User, error) GetByUserID(userID uint) (*domain.UserApp, error) GetByUser(user *domain.User) (*domain.UserApp, error) UpdateUserProfile(userID uint, updatedProfile domain.RegistrationApp) (*domain.User, error) ChangePassword(userID uint, oldPassword string, newPassword string) error ChangePasswordNoChecks(userID uint, newPassword string) error ResetPassword(email string) error UpdateLastActiveDate(userID uint) PostAnswer(userID uint, attempt domain.ProblemAttemptApp) (*domain.AttemptResultApp, error) GetAlbum(userId uint) (*domain.AlbumApp, error) GetProblemAttemptsByUser(userId uint, problemId uint) (*domain.ProblemAttemptsByUserApp, error) }
Click to show internal directories.
Click to hide internal directories.