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, message string, to []string, from enumutils.SenderID, ) (*dto.SendMessageResponse, error) Send( ctx context.Context, to, message string, from enumutils.SenderID, ) (*dto.SendMessageResponse, error) }
UsecaseSMS defines SMS service usecases interface
Click to show internal directories.
Click to hide internal directories.