Documentation ¶
Index ¶
- type Service
- func (s *Service) CreateUser(ctx context.Context, user user.UserForCreate) (string, error)
- func (s *Service) DeleteUser(ctx context.Context, userID string) (string, error)
- func (s *Service) ListAllUsers(ctx context.Context, params *postgresutils.PageRequest) (postgresutils.Page[user.User], error)
- func (s *Service) UpdateUser(ctx context.Context, userID string, updatedUser user.UserForUpdate) 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 (*Service) CreateUser ¶
func (*Service) DeleteUser ¶
func (*Service) ListAllUsers ¶
func (s *Service) ListAllUsers(ctx context.Context, params *postgresutils.PageRequest) (postgresutils.Page[user.User], error)
func (*Service) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.