Documentation ¶
Index ¶
- type ProfileManager
- func (s *ProfileManager) GetProfileByID(ctx context.Context, ID string) (*models.User, error)
- func (s *ProfileManager) GetProfileByUsername(ctx context.Context, username string) (*models.User, error)
- func (s *ProfileManager) Login(ctx context.Context, email, password string) (*models.User, string, error)
- func (s *ProfileManager) Register(ctx context.Context, model *models.User, password string) (string, error)
- func (s *ProfileManager) UpdateProfile(ctx context.Context, subjectEmail, clientUsername, password string, ...) (string, error)
- type UserGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileManager ¶
type ProfileManager struct {
// contains filtered or unexported fields
}
func NewProfileManager ¶
func NewProfileManager(userRepository *repositories.UserRepository) *ProfileManager
func (*ProfileManager) GetProfileByID ¶
func (*ProfileManager) GetProfileByUsername ¶
Click to show internal directories.
Click to hide internal directories.