Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceMessaging ¶
type ServiceMessaging interface { FetchSMSClient() *interserviceclient.InterServiceClient FetchTwilioClient() *interserviceclient.InterServiceClient SendSMS(ctx context.Context, phoneNumbers []string, message string) error }
ServiceMessaging represents messaging via sms and/or twilio
func NewServiceMessagingImpl ¶
func NewServiceMessagingImpl(baseExt extension.BaseExtension) ServiceMessaging
NewServiceMessagingImpl returns new initialized instance of ServiceOnboardingImpl
type ServiceMessagingImpl ¶
type ServiceMessagingImpl struct { SMS *interserviceclient.InterServiceClient Twilio *interserviceclient.InterServiceClient }
ServiceMessagingImpl represents our messaging struct
func (*ServiceMessagingImpl) FetchSMSClient ¶
func (s *ServiceMessagingImpl) FetchSMSClient() *interserviceclient.InterServiceClient
FetchSMSClient returns engagement's service SMS ISC
func (*ServiceMessagingImpl) FetchTwilioClient ¶
func (s *ServiceMessagingImpl) FetchTwilioClient() *interserviceclient.InterServiceClient
FetchTwilioClient returns twilio's service SMS ISC
Click to show internal directories.
Click to hide internal directories.