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

Method DiscordService

api/pkg/di/container.go:948–957  ·  view source on GitHub ↗

DiscordService creates a new instance of services.DiscordService

()

Source from the content-addressed store, hash-verified

946
947// DiscordService creates a new instance of services.DiscordService
948func (container *Container) DiscordService() (service *services.DiscordService) {
949 container.logger.Debug(fmt.Sprintf("creating %T", service))
950 return services.NewDiscordService(
951 container.Logger(),
952 container.Tracer(),
953 container.DiscordClient(),
954 container.DiscordRepository(),
955 container.EventDispatcher(),
956 )
957}
958
959// WebhookService creates a new instance of services.WebhookService
960func (container *Container) WebhookService() (service *services.WebhookService) {

Callers 2

DiscordHandlerMethod · 0.95

Calls 6

LoggerMethod · 0.95
TracerMethod · 0.95
DiscordClientMethod · 0.95
DiscordRepositoryMethod · 0.95
EventDispatcherMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected