Documentation
¶
Index ¶
- type Service
- func (s *Service) CheckPasswordByEmail(ctx context.Context, email, password string) (int64, error)
- func (s *Service) CheckPasswordById(ctx context.Context, id int64, password string) (int64, error)
- func (s *Service) CheckPasswordByMobile(ctx context.Context, mobile, password string) (int64, error)
- func (s *Service) Create(ctx context.Context, mobile, email, password string) (int64, error)
- func (s *Service) ModifyPassword(ctx context.Context, id int64, oldPassword, newPassword string) 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(account repoiface.AccountRepository) *Service
func (*Service) CheckPasswordByEmail ¶
func (*Service) CheckPasswordById ¶
func (*Service) CheckPasswordByMobile ¶
Click to show internal directories.
Click to hide internal directories.