Documentation ¶
Index ¶
- func NewPhoneNumberEventHandler(services *service.Services, log logger.Logger, cfg *config.Config, ...) *phoneNumberEventHandler
- type PhoneNumberValidateRequest
- type PhoneNumberValidationResponseV1
- type PhoneNumberValidationSubscriber
- func (s *PhoneNumberValidationSubscriber) Connect(ctx context.Context, worker subscriptions.Worker) error
- func (s *PhoneNumberValidationSubscriber) ProcessEvents(ctx context.Context, sub *esdb.PersistentSubscription, workerID int) error
- func (s *PhoneNumberValidationSubscriber) When(ctx context.Context, evt eventstore.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PhoneNumberValidationSubscriber ¶
type PhoneNumberValidationSubscriber struct {
// contains filtered or unexported fields
}
func (*PhoneNumberValidationSubscriber) Connect ¶
func (s *PhoneNumberValidationSubscriber) Connect(ctx context.Context, worker subscriptions.Worker) error
func (*PhoneNumberValidationSubscriber) ProcessEvents ¶
func (s *PhoneNumberValidationSubscriber) ProcessEvents(ctx context.Context, sub *esdb.PersistentSubscription, workerID int) error
func (*PhoneNumberValidationSubscriber) When ¶
func (s *PhoneNumberValidationSubscriber) When(ctx context.Context, evt eventstore.Event) error
Click to show internal directories.
Click to hide internal directories.