MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / MessageService

Method MessageService

api/pkg/di/container.go:1560–1571  ·  view source on GitHub ↗

MessageService creates a new instance of services.MessageService

()

Source from the content-addressed store, hash-verified

1558
1559// MessageService creates a new instance of services.MessageService
1560func (container *Container) MessageService() (service *services.MessageService) {
1561 container.logger.Debug(fmt.Sprintf("creating %T", service))
1562 return services.NewMessageService(
1563 container.Logger(),
1564 container.Tracer(),
1565 container.MessageRepository(),
1566 container.EventDispatcher(),
1567 container.PhoneService(),
1568 container.AttachmentRepository(),
1569 container.APIBaseURL(),
1570 )
1571}
1572
1573// AttachmentRepository creates a cached AttachmentRepository based on configuration
1574func (container *Container) AttachmentRepository() repositories.AttachmentRepository {

Callers 5

MessageHandlerMethod · 0.95
BulkMessageHandlerMethod · 0.95
Integration3CXHandlerMethod · 0.95
DiscordHandlerMethod · 0.95

Calls 8

LoggerMethod · 0.95
TracerMethod · 0.95
MessageRepositoryMethod · 0.95
EventDispatcherMethod · 0.95
PhoneServiceMethod · 0.95
AttachmentRepositoryMethod · 0.95
APIBaseURLMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected