message

package
v0.0.0-...-844d4e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package message provides the use case for message

Package message provides the use case for message

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	MessageIntegration twilio.Messages
}

Service is a struct that contains the repository implementation for message use case

func (*Service) CreateSMS

func (s *Service) CreateSMS(ctx context.Context, message *messageDomain.SMSRequest) (*messageDomain.Response, error)

CreateSMS is a function that creates a message

func (*Service) CreateWhatsapp

func (s *Service) CreateWhatsapp(ctx context.Context, message *messageDomain.SMSRequest) (*messageDomain.Response, error)

CreateWhatsapp is a function that creates a whatsapp message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL