Documentation
¶
Index ¶
- type Service
- func (s *Service) CreateUserV1(ctx context.Context, req model.CreateUserRequestV1) (model.CreateUserResponseV1, error)
- func (s *Service) DeactivateUserV1(ctx context.Context, req model.DeactivateUserRequestV1) error
- func (s *Service) GetUserV1(ctx context.Context, req model.GetUserRequestV1) (model.GetUserResponseV1, error)
- type UserRepository
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 NewService ¶
func NewService(userRepository UserRepository) *Service
func (*Service) CreateUserV1 ¶
func (s *Service) CreateUserV1(ctx context.Context, req model.CreateUserRequestV1) (model.CreateUserResponseV1, error)
func (*Service) DeactivateUserV1 ¶
func (*Service) GetUserV1 ¶
func (s *Service) GetUserV1(ctx context.Context, req model.GetUserRequestV1) (model.GetUserResponseV1, error)
type UserRepository ¶
Click to show internal directories.
Click to hide internal directories.