Documentation
¶
Index ¶
- type Service
- func (s *Service) ChangePassword(ctx context.Context, userUuid uuid.UUID, newPassword string) error
- func (s *Service) CreateUser(ctx context.Context, email, password string) (domain.User, error)
- func (s *Service) GetUser(ctx context.Context, userUuid uuid.UUID) (domain.UserDetails, error)
- func (s *Service) GetUserSessions(ctx context.Context, userUuid uuid.UUID) ([]domain.Session, error)
- func (s *Service) ListUsers(ctx context.Context, req domain.ListUsersReq) ([]domain.User, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( users repository.Users, sessions repository.Sessions, subscriptions service.SubscriptionService, auth service.AuthService, ) *Service
func (*Service) ChangePassword ¶
func (*Service) CreateUser ¶
func (*Service) GetUserSessions ¶
Click to show internal directories.
Click to hide internal directories.