Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContactCreatedEventHandlerDefinition = di.Def{ Name: "contact-event-created-handler", Scope: di.App, Build: func(ctn di.Container) (interface{}, error) { return event.ContactCreatedEventHandler{ Mailer: ctn.Get("mailer").(mailer.Mailer), Logger: ctn.Get("logger").(logger.ILogger), }, nil }, }
ContactCreatedEventHandlerDefinition ContactCreatedEventHandlerDefinition
View Source
var CreateContactCommandHandlerDefinition = di.Def{ Name: "create-contact-command-handler", Scope: di.App, Build: func(ctn di.Container) (interface{}, error) { return command.CreateContactCommandHandler{ ContactFactory: &entity.Contact{}, ContactRepository: ctn.Get("contact-repository").(repository.ContactRepository), ContactCreatedEventHandler: ctn.Get("contact-event-created-handler").(event.ContactCreatedEventHandler), Logger: ctn.Get("logger").(logger.ILogger), }, nil }, }
CreateContactCommandHandlerDefinition CreateContactCommandHandlerDefinition
View Source
var ListTechnoQueryHandlerDefinition = di.Def{ Name: "list-techno-query-handler", Scope: di.App, Build: func(ctn di.Container) (interface{}, error) { return query.ListTechnoQueryHandler{ TechnoRepository: ctn.Get("techno-repository").(repository.TechnoRepository), }, nil }, }
ListTechnoQueryHandlerDefinition ListTechnoQueryHandlerDefinition
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.