Documentation
¶
Index ¶
- type Service
- func (s *Service) CreateUser(ctx context.Context, user model.User) (model.User, error)
- func (s *Service) DeleteUser(ctx context.Context, id string) error
- func (s *Service) FindUser(ctx context.Context, id string) (model.User, error)
- func (s *Service) GetUserByEmail(ctx context.Context, email string) (model.User, error)
- func (s *Service) UpdateUser(ctx context.Context, user model.User) error
- type UserRepo
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
}
Service represents the user domain service layer.
func NewService ¶
func (*Service) CreateUser ¶ added in v0.2.0
func (*Service) DeleteUser ¶ added in v0.2.0
func (*Service) GetUserByEmail ¶
Click to show internal directories.
Click to hide internal directories.