Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImplSMS ¶
type ImplSMS struct {
// contains filtered or unexported fields
}
ImplSMS is the SMS service implementation
func NewSMS ¶
func NewSMS(infrastructure infrastructure.Interactor) *ImplSMS
NewSMS initializes an SMS service instance
type UsecaseSMS ¶
type UsecaseSMS interface { SendToMany( ctx context.Context, to []string, message string, ) (*silcomms.BulkSMSResponse, error) Send( ctx context.Context, to, message string, ) (*silcomms.BulkSMSResponse, error) }
UsecaseSMS defines SMS service usecases interface
Click to show internal directories.
Click to hide internal directories.