Documentation ¶
Index ¶
- func EnsureDisplayName(usr *models.User)
- func Timing(ctx context.Context, name string, fn func() error) error
- type Service
- func (svc *Service) AddEmailAddressToUser(ctx context.Context, mailModel models.EMail) (*models.EMail, []models.EMail, error)
- func (svc *Service) AddUserAddress(ctx context.Context, model models.Address) ([]models.Address, error)
- func (svc *Service) DeleteEmailAddressFromUser(ctx context.Context, userID string, mailID string) ([]models.EMail, error)
- func (svc *Service) DeleteUserAddress(ctx context.Context, userID string, addressID string) ([]models.Address, error)
- func (c *Service) GeneratePasswordResetToken(ctx context.Context, userID string) (string, string, error)
- func (svc *Service) MarkEmailAsPrimary(ctx context.Context, userID string, mailID string) error
- func (svc *Service) UpdateUserAddress(ctx context.Context, updateModel models.Address, paths []string) ([]models.Address, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDisplayName ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AddEmailAddressToUser ¶
func (*Service) AddUserAddress ¶
func (*Service) DeleteEmailAddressFromUser ¶
func (*Service) DeleteUserAddress ¶
func (*Service) GeneratePasswordResetToken ¶
func (*Service) MarkEmailAsPrimary ¶
Click to show internal directories.
Click to hide internal directories.